API Rest for list app in NodeJS using TypeScript and MongoDB.
Front-end project: https://github.com/washingtonbr/ListApp
Create the .env.development
and .env.production
files similar to the .env.example
in environments
folder.
First install Node.js.
# Install
$ npm install
# Running on development
$ npm run dev
# Running on development with Nodemon
$ npm run watch:dev
Build with Docker:
# Create image
$ sudo docker build -t list-app .
# Running container
$ sudo docker run --env-file ./environments/.env.production -d -p 3000:3000 list-app
Import the postman_collection.json
and postman_environment.json
files of postman
folder on your Postman.
For details, see the collections and environments documentation.