herbsjs / herbs-cli

Herbs CLI
https://herbsjs.org/
MIT License
29 stars 30 forks source link

Create a new project without support to database #156

Open maikvortx opened 2 years ago

maikvortx commented 2 years ago

Is your feature request related to a problem? Please describe.

Today is not possible to create a new project without a support to a database.

Describe the solution you'd like

Create a new option to create a new project without database support.

image

dalssoft commented 2 years ago

The only scenarios where I think it makes sense to have no DB is a BFF (back for frontend).

However, currently all the use cases generated are using repositories to talk to DB. what would be the alternative here?

maikvortx commented 2 years ago

What do you think about generating a usecase without CRUD steps, only validation step? We can use the CLI to create projects to work with BFF and Library.