Demo REST API using Express and MongoDB. The project contains a VS-code launch file. Run the Debug Server configuration to debug server.
Coding style is enforced using Prettier in combination with EditorConfig. Prettier is configured in ./prettierrc
and runs file saves as configured in .vscode\settings.json
. EditorConfig is configured in the ./.editorconfig
file. You should also install the VS-Code plugin.
Install the Prettier Plugin and
In the project directory, you can run:
Runs the app in development mode using nodemon. Open http://localhost:5000 to view it in the browser.
The server will reload if you make changes. You will see any errors in the console.
Runs the app in production mode. Open http://localhost:5000 to view it in the browser.
Launches the test runner.
Are defined in the spec file
Other useful resources can be found in the links document