Skip to content

boolean-uk/team-dev-server-c12

 
 

Repository files navigation

Team Simulation - Server

Setting up

  1. Clone (do not fork) the repository
  2. npm ci to install dependencies
  3. Copy .env.example to a .env file
  4. Update the values inside the .env file, using your own database connection details. Do not put the production database details in here, lest you incur the wrath of the gods.
  5. npm run dev to run the app
  6. Profit

Contributing

API Spec

Deployed API Spec

The API Spec is hosted by the server itself (i.e. this project), and the view/page is generated automatically by the SwaggerUI library.

To view it locally, you can just go to: http://localhost:4000/api-docs.

Whenever you make any change to the API (e.g. adding a new route, changing the payload for an existing route, adding a new error), you must update the API Spec accordingly. To do this, you just need to update the openapi.yaml file -- guidance on the basic structure of the openapi.yaml file can be found here.

DATABASE ERD

You must create and include an ERD here. This needs to be kept up to date with any and all database schema changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.4%
  • Dockerfile 1.6%