Skip to content

API Routes

Eric Ramsay edited this page Mar 5, 2021 · 7 revisions

Load Single GET api/games/ -- JSON of all games in DB GET api/games/:id -- JSON with particular game obj

/main

/categories/:id

/games/:id


/users/login

/users/signup

/users/myGames

/users/profile


API ROUTES -- INTERACTING W/ DATABASE -- 2-3 paths

Adding a new review POST /api/games/:id/review

Add game to library from dropdown interface POST /api/users/:id/library/

/api/games/:id/

Clone this wiki locally