BuildForSDG / BuildForSDG/Team-059-backend

Create the following route: index, sign up, sign in, dashboard, profile, report

Đang mở
#18 0 bình luận 0 reaction 7 người được giao Được @osueke-christian nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
JavaScript
Star
0
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Solution Description**
- index route `get("/")` should get landing page or home page.
- signup routes should be able to get the registration page and also submit filled registration form. E.g `get("/signup)` and `post("/signup)`
- dashboard route should get the dashboard of authenticated users. `get("/dashboard)`
- users should be able to view and edit their profile via the Profile route e.g `get("/profile")` to view profile, `get("/profile/edit")` to view the edit profile form and `post("/profile")` to submit edited profile
- users should be able to report teachers and schools via the report route. e.g `get("/report") should get the report form and `post("/report") should submit the report form.

**Describe alternatives**
Back end dev's, any route used other than my suggested routes should be dully communicated to the front end dev's via the comment, project board and on slack.

**Note**
- This task is for back end but front end should take note of the routes and know where and how to utilize them while creating the home page and dashboard page.
- report link can be access from the `home page` without sign in and also on the `dashboard page` .

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.