This repo contains a boilerplate backend with Nodejs and Express in Typescript. It is currently intended for development/staging only.
-
Install npm modules with
npm install
-
Create an empty
.env
file in the root foder usingsample.env
as an example.
-
In a console tab run the following to compile the code in watch mode
tsc -w
-
In a different console tab run the following to start the server and make it reload on changes
nodemon dist/index.js
npm test