kajlund / devcamper-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

Scripts

In the project directory, you can run:

npm run dev

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.

npm start

Runs the app in production mode. Open http://localhost:5000 to view it in the browser.

npm test

Launches the test runner.

Project Requirements

Are defined in the spec file

Useful Resources

Other useful resources can be found in the links document

About


Languages

Language:JavaScript 100.0%