uses Typescript, Nest.js and postgresql with famous library Objectionjs and Knex.
Install dependencies and devDependencies:
$ yarn install
Configuration environment and change basic credentials:
$ cp .env.example .env
$ pgcli --user postgres
-> password:- ****
$ CREATE DATABASE food_delivery
Start the nest server:
$ yarn start
Start the nest development server:
$ yarn start:dev
yarn build
- Transpile TypeScript codeyarn start
- Run applicationyarn start:dev
- Run application in development modeyarn run format
- Formate code with pritteryarn run lint
- Run for typescript lintingyarn run migrate:make
- Run for create migration with name of migrationyarn run migrate:latest
- Run for migrate and create schemayarn run migrate:rollback
- Run for rollback batch migration
- #Nest for node js framework
- #postgres for database
- #Objectionjs
- #Knexjs
- #RabbitMQ for Messages and Queues
- #Yarn for Official package manager
- #CodeEditor Official text editor
- #StackOverflow thanks for helping and provide solution on every problem