A progressive Node.js framework for building efficient and scalable server-side applications.
This is the back-end part for the Plant Care mobile app. Documentation with all the endpoints can be accessed at localhost:3000/doc once the app is running.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# generate new migration
$ npm run typeorm migration:generate -- -n <migration_name>
# show migrations
$ npm run typeorm migration:show
# run migrations
$ npm run typeorm migration:run
# run seeds
$ npm run seed
Here are some guidelines for developers.
When you want to add new module with controller and service, always do it by using NestJS internal commands.
# Create new module
$ nest g module NewModule
# Create new controller
$ nest g controller NewModule
# Create new service
$ nest g service NewModule