Skip to content

csengmany/marvel-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marvel Backend

Alt text


Packages


Characters

/characters (GET)

Get a list of characters

Query Info Required
apiKey API key received Yes
limit between 1 and 100 No
skip number of results to ignore No

Comics

/comics (GET)

Get a list of comics

Query Info Required
apiKey API key received Yes
limit between 1 and 100 No
skip number of results to ignore No

/comics/:characterId (GET)

Get a list of comics containing a specific character

Params Info Required
characterId characters mongoDB id Yes
Query Info Required
apiKey API key received Yes

User

/user/signup (POST)

Create a new user

Body Type Required
email string Yes
password string Yes
username string Yes

/user/login (POST)

Log a user

Body Type Required
email string Yes
password string Yes

/user/favorite/character (POST)

Body Type Required Description
characterId string Yes character id
id string Yes user id

/user/favorite/comic (POST)

Body Type Required Description
comicId string Yes comic id
id string Yes user id
title string Yes comic title
path string Yes image path
extension string Yes image extension
description string Yes comic descrtiption

/user/favorites/:_id (GET)

Get all favorites comics and characters of one user

Param Required Description
id Yes user id

About

An API that requests another API to display lists of Marvel characters and comics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published