Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 678 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 678 Bytes

Typescript / Express - Kit

A configured boilerplate kit with Express.js + Typescript for the building of APIs.

Environment Variables

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.
NPM Scripts

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.