- typescript : for static typing
- nodenom : for reloading the dev server
- express : nodejs server framework
- cors : for handling cors requirements
- body-parser : for parsing incoming json in request body
- dotenv : to load enviroment variables
npm run watch
npm run start
Run both in separate terminal instances . they both need to be running through out the dev process. watch : will watch for changes in index.js and compele it into dist/index.js start: will execute code dist/index.js and reload it if it changes using nodemon
there's a Procfile for heroku deployment included .
npm and node js versions which are aso required by heroku also included.
So just create an account with them fork the repo and select it in their console or using their CLI tools to deploy
"engines": {
"node": "16.x",
"npm": "6.x"
}