Skip to content
/ nodejs-starter Public template

A starter Node.js API service built using Express.js and Typescript

Notifications You must be signed in to change notification settings

edoparearyee/nodejs-starter

Repository files navigation

Node.js Starter

This project was bootstrapped with Express application generator.

Prerequisites

This project using Yarn to manage npm packages. To install simply follow the instructions here.

Available Scripts

In the project directory, you can run:

yarn start

Runs the server in the development mode at http://localhost:5000.

The server will recompile and restart itself if you make edits.

yarn test

Launches the test runner in the interactive watch mode using Jest.
See the section about running tests for more information.

yarn lint

Runs formatting and linting checks and outputs a list of errors which should be fixed. To fix linting or formatting issues run yarn lint:fix. This will fix any issues that can be automatically fixed by the various tools.

Formatting is performed by Prettier. Linting is performed by Tslint.

Linting and formatting errors are also automatically fixed before commits.

yarn build

Builds the server for production to the build folder. The api can then be run like so node ./build/server.js.

About

A starter Node.js API service built using Express.js and Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published