Store REST API using NodeJS, Express and MongoDB
This is a Typescript port of the awesome REST API tutorial which can be found here: https://github.com/academind/node-restful-api-tutorial/tree/13-controllers/.
Visitor stats
Code stats
Usage
Create a .env
file using the .env.example
file and add your Mongo Atlas admin password:
ATLAS_PWD=<YOUR_PASSWORD_HERE>
JWT_KEY=secret
ROOT=http://localhost
PORT=3000
Install dependencies
npm i
# or
yarn
Run in development mode
npm start
# or
yarn start
Build for production
npm run build
# or
yarn build
LICENSE
MIT
Connect with me: