Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 942 Bytes

routes.md

File metadata and controls

21 lines (15 loc) · 942 Bytes

HTTP method URL pattern Use GET / show homepage

POST /resources creates new resource in db POST /resources/:resource_id shows specific resource POST /login logs in user and returns them to the homepage POST /register create new user in db and logs in POST /logout clears cookie/ returns to homepage PUT /user/me update the db of specific user GET /user shows user profile

list of modals

login page register page create new resource view resource