Magic All you need to do is add a DB, which will automatically make your routes.
I have made a side project that will make your routes automatically, all you have to do is add the database in the DB folder, and the paths (\`url/:id\`) will be generated automatically.
Each API will have the following methods:
\- File \`router.js\` will have the following methods:
\- GET: Get all the data
\- GET: Get a single data
\- POST: Create a new data
\- PUT: Update a data
\- DELETE: Delete a data
And this Auto CURD generator will make your and our life easy.
All you need to do is,
1. Clone
2. Update MongoDB env in the .env file
3. add some DBs in the DB folder
that is all you have to do.
Don't forget to \`NPM install\` (I am using pnpm).
Let me know what can be the possibilities.