nicoalbanese / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
2.63k stars 120 forks source link

kirimase is getting messy | add templating engine #102

Open ahmedrowaihi opened 11 months ago

ahmedrowaihi commented 11 months ago

first of all, I AM SO THANKFUL TO YOU GUYS, I really love the effort and energy has been done here, and I would love to contribute to this project when I finish my final exams

I noticed that the boilerplates are becoming hard to track and maintain, so

Problem : the generators files are getting big and complex

solution

use an amazing templating engine
we can separate implementations for different options by keeping each on its own directory with handlebarsjs

example:

this way we can keep the boilerplate easy to plug-play and also easy to debug and spot bugs

afogel commented 9 months ago

@nicoalbanese if this seems like a worthwhile enhancement to focus on, would you be open to me turning this into an epic and then making small PRs that chip away at this work? On this issue, we can start to compile a checklist of which templates are outstanding. Thanks for all the work on this!

Update: given some of the rails inspiration for kirimase, I wonder whether you'd be open to using eta, which has an ERB style syntax and supports partials?