haydenbleasel / next-forge

Production-grade Turborepo template for Next.js apps.
https://www.next-forge.com/
MIT License
3.18k stars 255 forks source link

Setup CLI #240

Open JedPattersonn opened 5 hours ago

JedPattersonn commented 5 hours ago

Have you considered adding a CLI setup process, similar to how the T3 Stack does it? I'm a big fan of this project but find a lot of the features aren't relevant to me, especially as some require third-party services.

Would be great to have a custom setup experience, so I can say what I do/don't want, and then have options for each, such as Drizzle vs Prisma.

Would speed up the process a lot when first developing, as I don't need to go through the code and remove services I don't want to use.

haydenbleasel commented 5 hours ago

Hey @JedPattersonn, yep been thinking about that recently. I think as we build out more migration guides (e.g. switch your database to X or switch your auth provider to Y) we'll end up seeing patterns that will help us create more isolated packages. Then, as you noted, we can make those packages and even the specific providers customizable in the init command.