I think it really just boils down to doing something you like and believing in your decision to do it.
For example if you're looking at a new tech stack and after some weeks or months of developing something with it. If it's not everything you thought it would be, or you're no longer 100% on board, no amount of motivation is going to keep you moving forward to build your app. It'll feel like absolute dread every time you think about opening your code editor.
I've been consistently blogging for 5+ years (at least 1 weekly post) and I still find it super enjoyable. It doesn't feel like I need motivation because it's doing something I genuinely believe in and want to do.
For example if you're looking at a new tech stack and after some weeks or months of developing something with it. If it's not everything you thought it would be, or you're no longer 100% on board, no amount of motivation is going to keep you moving forward to build your app. It'll feel like absolute dread every time you think about opening your code editor.
I've been consistently blogging for 5+ years (at least 1 weekly post) and I still find it super enjoyable. It doesn't feel like I need motivation because it's doing something I genuinely believe in and want to do.