Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 899 Bytes

README.md

File metadata and controls

40 lines (20 loc) · 899 Bytes

About

This project is a skeleton express server using typescript.

Created with express-generator-typescript then trimmed down packages and sample files to the bare minimum, while keeping some useful libraries (eg. logging)

Available Scripts

yarn run dev

Run the server in development mode.

yarn test

Run all unit-tests with hot-reloading.

yarn test -- --testFile="name of test file" (i.e. --testFile=Users).

Run a single unit-test.

yarn run test:no-reloading

Run all unit-tests without hot-reloading.

yarn run lint

Check for linting errors.

yarn run build

Build the project for production.

yarn start

Run the production build (Must be built first).

yarn start -- --env="name of env file" (default is production).

Run production build with a different env file.