Frontend Routes
Nico G Pierson edited this page Aug 25, 2021
·
1 revision
For users that are not logged in, this page shows the splash page detailing the features. Along with a sign-up/login
in the navbar.
For logged in users, this page shows the feed page. Along with a create city
button and logout
in the navbar
This page displays a sign-up form.
-
GET /register
-
POST /register
This page displays the feed of a guest user for the app.
GET /demo
This page displays the login page
POST /login
This page will display all cities as a card
-
GET /cities/:id
Display a single city page with insights associated to them -
POST /cities
Form to create a city
This page will display the logged-in user's account page.
-
GET /profile/:id
View other profiles