Skip to content

This is a expressjs api template project which uses the power of nodejs and typescript

License

Notifications You must be signed in to change notification settings

JohnnyDevNull/express-api-typescript-template

Repository files navigation

express-api-typescript-template

This is a test or template project for playing around with NodeJS + ExpressJS and Jest as test framework with TypeScript support.

Development server

Run npm run dev for a dev server. Navigate to http://localhost:3000/.

Production server

Run npm run prod for a prod server. Navigate to http://localhost:3000/.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Lint

Run npm run lint to start a linter run.

Running unit tests

Run npm run test to execute the unit tests.

Manual Rest-Client tests

  1. Install this VSCode-Addon: https://github.com/Huachao/vscode-restclient
  2. Open tests/vscode-restclient-test.http within Visual Studio Code and run the steps or define some additional

About

This is a expressjs api template project which uses the power of nodejs and typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published