The First Step Toward a Full Backend Code Generator
Dear amazing nodejs subredditors,
I have an idea that's been tickling my mind for the last four months. I’ve noticed that backend development is often a time-consuming and repetitive process, involving tasks like database creation, model handling, CRUD operations, and data validation.
To address this, I'm working on a tool that can automate much of this work. Here's the concept:
- Database Design: Start by designing your database schema.
- ORM Generation:The tool generates your ORM models and migrations in your ORM of choice (Sequelize, Prisma, TypeORM).
- CRUD Operations: From the database schema, the tool generates CRUD operations with data validation.
- Framework Choice: You can choose your preferred framework (Express, Nest) and API technology (REST, GraphQL).
I know it sounds like an ambitious project, but I’ve managed to successfully implement ORM models and migrations so far.
I’d love to get your honest feedback on this idea. Do you think it’s feasible? Would there be interest in sharing it as an open-source project?
Thank you!