Nest-cli: Add a database step when creating a new project

Created on 20 Aug 2018  路  5Comments  路  Source: nestjs/nest-cli

I think a database is a key element in the majority of the apps. It would be nice to have a new step added for adding a database:

It can be something like this:

Database driver:

1. No database
2. Typeorm
3. Mongoose
4. Sequelize

The user can choose No database if he doesn't use one or one of the other options depending what he needs.

feature

Most helpful comment

We'll rather add support for nest add command (for example, nest add typeorm that would reduce the amount of boilerplate required to start playing with db).

All 5 comments

We'll rather add support for nest add command (for example, nest add typeorm that would reduce the amount of boilerplate required to start playing with db).

That would be nice too.

Hi @kamilmysliwiec ,

Let me know if i can work on it, looks like a big feature, we can do it in parts. I have worked on schematics, so i think i can help.

let me know if i can help with the code

Was this page helpful?
0 / 5 - 0 ratings