Skip to content

Backend of Tindev the node project of Semana Omnistack 8.

Notifications You must be signed in to change notification settings

Gabriel-Aragao/tindev-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tindev-backend

Backend of Tindev the node project of Semana Omnistack 8.

endpoints:

GET

<server>:3333/

Headers { user: user._id} _user.id is the id of the logged user

Returns a list of avaiable devs to be liked,

When no user header are send

Returns a list of all devs ids.

POST

<server>:3333/devs/new

dev = { "username": "user-name-on-github" }

Receives a dev to add at the database.

<server>:3333/devs/:devId/like

Headers { user: user._id} _user.id is the id of the logged user

Likes the dev with the devId.

<server>:3333/devs/:devId/dislike

Headers { user: user._id} _user.id is the id of the logged user

Dislikes the dev with the devId.

About

Backend of Tindev the node project of Semana Omnistack 8.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published