API Endpoints
/api/users/…/api/places/…
GET …/
POST …/signup
POST …/login
Retrieve list of all users
Create new user + log user
in
Log user in
GET …/user/:uid
GET …/:pid
POST …/
Retrieve list of all places for
a given user id (uid)
Get a specific place by place
id (pid)
Create a new place
PATCH …/:pid
Update a place by id (pid)
DELETE …/:pid
Delete a place by id (pid)
SPA Pages
/ List of Users
/:uid/placesList of Places for Selected User
/authenticateSignup + Login Forms
/places/newNew Place Form
/places/:pidUpdate Place Form
Always
reachable
Always
reachable
Only un-
authenticated
Only
authenticated
Only
authenticated