Skip to content

AbiMeGab/GamesAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIDEO GAMES API

Gadi Medero

alt text

Preview of Swagger, how the endpoints looks like.

Proofs of every endpoint with POSTMAN.

(C) POST

Create a new game in the Repository.

alt text

Possible errors:

Existing ID.

alt text

Existing Name.

alt text

Wrong Platform.

alt text

Wrong Price.

alt text

(R) GET

Retrieval all video games from the repository.

alt text

Retrieval a single video game by its ID from the repository.

alt text

Error by not found ID.

alt text

(U) PUT

Apdate an existing video game to the repository.

alt text

Non existing video game error:

alt text

(D) DELETE

Delete an existing video game from the repository.

alt text

LAST UPDATES!

Swagger preview.

alt text

New User and Admin accounts feature

alt text

New restrictions

No duplicates are allowed, authentication restrictions and strong password rules.

alt text

alt text

alt text

Only admin users with their Token can generate other admin accounts and post, update and delete games.

alt text

alt text

alt text

alt text

alt text

Everybody can register a normal account.

alt text

If your account does not exist or your credentials are wrong, we will notify you of the error.

alt text

This API was tested on Postman (for learning purposes) and with NUnit6.

alt text

alt text

Thank you!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages