Skip to content

SacredMesa/express-typescript-skeleton

Repository files navigation

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.

About

Skeleton express server using typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published