-
Notifications
You must be signed in to change notification settings - Fork 1
Frontend Routes
katsutori edited this page Feb 10, 2022
·
17 revisions
If user is NOT logged in, the user login and sign up buttons will display on a splash page. The add-a-business/search/category buttons will redirect to the login form.
GET /GET /loginGET /signup
If the user IS logged in, they will be redirected to a "/" view exclusively for logged in users. The logged in "/" view will allow users to search for businesses by search input or category and see suggested businesses.
GET /businesses/<int:id>GET /search/queryGET /categories/<int:id>/
Allow users to view a specific business' page that displays images, reviews, and other relevant business information
GET /businesses/<int:id>/photos/uploadGET /businesses/<int:id>/photosGET /businesses/<int:id>/reviews/newGET /businesses/edit/<int:id>GET /businesses/<int:id>/reviews/<int:id>/edit