This is a boilerplate backend API server written in Typescript and using ExpressJS web framework.
First install necessary dependencies using:
npm install
Next, copy or rename example.env
into .env
and set the needed environment variables if necessary.
Compile Typescript into Javascript using npm run build:dev
. This will compile Typescript and wait for changes to trigger a new compilation.
To compile without watching, consider running npm run build:prod
.
To start the server, run npm start
. Server will automatically restart after each build.
Run npm test
to test with jest.
Every suggestion is welcome.
If you would like to use this repo for your personal use, please consider forking the repo and cloning from your fork.
MIT License.