Frontend Routes - lucianjones/Team-Tianwen GitHub Wiki
User-facing routes
/login
Log-in page
- This page displays a log-in form.
GET /loginPOST /login
/signup
Sign-up page
- This page displays a sign-up form.
GET /signupPOST /signup
/
- This page displays recent questions.
GET /
/profile
- This displays a page where logged in users can view and edit their profile.
GET /profilePOST /profilePATCH /profileDELETE /profile
/questions/:id
- This page is where logged in users can post updates and delete questions without causing a refresh.
GET /questions/:idDELETE /questions/:idPATCH /questions/:id
/questions/new
- This page displays a form where a logged in user can post a new question.
POST /questions