Post Todo App - Backend
This is a backend service for post todo app.
You can check frontend code here: https://github.com/leadstar116/react-post-todo-app-frontend
Live Url: https://nestjs-posts-todo-backend.herokuapp.com/api/
- Nest.js
- Swagger API Documentation
- TypeORM
- PostgreSQL
- Jest
- Unit Test & Coverage Test
Used node version 14 when working on this project.
$ nvm use 14
$ yarn install
Install postgres latest version. Copy .env.example -> .env
and config database variables.
$ yarn migration:run
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
Open browser and visit localhost:8080/api
.
# unit tests
$ yarn test
# watching unit tests
$ yarn test:watch
# test coverage
$ yarn test:cov