Node REST API with Express, MongoDB and Typescript
MIT License
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/.
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
npm i
# or
yarn
npm start
# or
yarn start
npm run build
# or
yarn build
MIT