A configured boilerplate kit with Express.js + Typescript for the building of APIs.
This project is using dotenv to load a .env file at the root of the project. This file should have the following variables configured:
- PORT - Port to be used by the express server.
These are the currently configured scripts for running with NPM.
- npm start - runs /out/server.js with node.
- npm run dev - runs /out/server with nodemon.
- npm run watch - runs the typescript compiler with watch.
- npm run compile - runs the typescript compiler.
- npm test - uses mocha to run all the tests in the test folder.