RESTAPI typescript

This is a nodejs base template that contains the base (boilerplate) for building REST apis with express and typescript.

It also container all the potential packages that will be used in building out common features such as

  • Bcrypt
  • jsonwebtokens
  • dotenv

Startup

To start the project after cloning the repo and npm install. You should probably do npm update to update the dependencies

Then the startup commands are as follows

tsc --watch

To compile the typescript files in the source folder and compile it to nodejs to a dist folder.

npm run start // uses nodemon to run and compile the js files