A Simple Web API with NestJs, Postgres, Sequelize ORM.
- Installing dependencies
yarn-
Open
src/static/config/dev.jsonand changes values of secrets.databases.username & secrets.databases.password to your database username & password. -
For first time (non existing DB) run next command and enter your database username and password.
yarn init:db- Run the APIs & cronjobs.
yarn devIt'll run the APIs on port 3000 & cronjobs and you can access the APIs in http://localhost:3000/api
yarn test