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=3000npm i
# or
yarnnpm start
# or
yarn startnpm run build
# or
yarn buildMIT
Connect with me: