Link of the article : Blog To run the following code
- Create a
.env
file at root level (same level as .gitignore), with following content
MONGOOSE_URL='<Your MongoDB URL>'
PORT=<Port Number for application>
- Run
npm i
- Run
npm run dev
- File to play around as per the blog with
src/index.ts
- Check out the postman documentation here