Skip to content

isdi-coders-2023/Matias-Risco-Final-Project-back-202309-bcn

Repository files navigation

ValvePipeApi

Quality gate

Quality Gate Status

Technologies Used

  • Git: Version control system used to track changes in code and collaborate on software projects.

  • Node.js: Server-side JavaScript runtime environment for scalable and high-performance applications.

  • Express.js: Web framework for Node.js simplifying API and web application development.

  • TypeScript: Language extending JavaScript with static types to prevent common errors during development.

  • MongoDB: Highly flexible and scalable NoSQL database using document-based data storage.

  • Jest: JavaScript testing framework useful for unit, integration, and end-to-end testing in Node.js and React applications.


Git Node.js Express.js TypeScript MongoDB Jest

Endpoints

GET /

  • Check the server response through the pingController.
  • Sends the message "🏓" in the response body and status 200.

GET / (wrong endpoint)

  • Request to a wrong endpoint.
  • Sends the message "Endopoint not found" in the response body and status 404.

GET / games

  • Request for a list of 10 games.
  • Sends a collection of 10 games in the response body and status 200.

GET / games?page=number

  • Request for a list of 10 games starting for page*10.
  • Sends a collection of 10 games in the response body and status 200.

GET / games / info/ :id

  • Request for a determinated game.
  • Sends a the determinated game in the response body and status 200.

DELETE / games / delete / :id

  • Request to delete a game by its id.
  • Sends a the deleted game in the response body and status 200.

POST / games / add

  • Request to add an game.
  • Sends the information of the game in the response body and status 200.

PATCH / games / edit

  • Request to modify a game.
  • Sends a the modified game in the response body and status 200.

GET / games / count

  • Request total number of games.
  • Sends a the total number of games in the response body and status 200.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages