nestjs / nest-cli

CLI tool for Nest applications 🍹
https://nestjs.com
Other
1.97k stars 394 forks source link

Add a database step when creating a new project #177

Closed IonelLupu closed 5 years ago

IonelLupu commented 6 years ago

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.

kamilmysliwiec commented 5 years ago

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).

IonelLupu commented 5 years ago

That would be nice too.

santoshyadavdev commented 5 years ago

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.

rubiin commented 5 years ago

let me know if i can help with the code

kamilmysliwiec commented 5 years ago

More details here: https://github.com/nestjs/nest-cli/issues/177#issuecomment-446580241