Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.17 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.17 KB

Backend-Marvel

This is the back-end of my Marvel website ----> https://marvel-phil-dev8.netlify.app/

The differents routes

I use a Marvel API with 5 differents route for this project : 3 for comics, 2 for characters. You can see these in the folder /routes.

Route : /comics
Method : GET
What it does? : Get the list of comics ( + 1500 !)

Route : /comic/:comicId
Method : GET
What it does? : Get all informations of specific comic

Route : /comics/:characterId
Method : GET
What it does? : Get a list of comics containing a specific character

Route : /characters
Method : GET
What it does? : Get a list of characters ( + 14K !)

Route : /character/:characterId
Method : GET
What it does? : Get a the infos of a specific character

Moreover of these routes, I create 2 additional in /routes/user.js for signup and login to your account on the website.
You will ask me : Why I am going to create an account on your Marvel website ??
With an account, you will be able to add favorites characters and comics !

I hope you will enjoy to search your favorites Marvel characters and comics on this little project ! :D