This project was bootstrapped with Express application generator.
This project using Yarn to manage npm packages. To install simply follow the instructions here.
In the project directory, you can run:
Runs the server in the development mode at http://localhost:5000.
The server will recompile and restart itself if you make edits.
Launches the test runner in the interactive watch mode using Jest.
See the section about running tests for more information.
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.
Builds the server for production to the build
folder. The api can then be run like so node ./build/server.js
.