#21 Using wouter for navigation and links. Register page works by sending request to register endpoint #23

Merged
juggy1233 merged 2 commits from #21-register-page into master 2023-03-19 19:35:29 -04:00
Owner

Closes #21


Made AuthenticatedRoute componenet, which reinforces whether a user is authenticated or not. isAuthenticated=true means the route requires an authenticated user. isAuthenticated=false means the route requires no user's logged in.

Made register page. Allows user to fill out their:

  • role
  • email
  • username
  • password
  • confirm password

Then sends a request to register endpoint. On success, redirects to login page.

Closes #21 --- Made `AuthenticatedRoute` componenet, which reinforces whether a user is authenticated or not. `isAuthenticated=true` means the route requires an authenticated user. `isAuthenticated=false` means the route requires no user's logged in. Made register page. Allows user to fill out their: - role - email - username - password - confirm password Then sends a request to register endpoint. On success, redirects to login page.
juggy1233 added 2 commits 2023-03-19 16:43:51 -04:00
juggy1233 force-pushed #21-register-page from 8a3d0fa49b to d05e0fb0e0 2023-03-19 16:49:47 -04:00 Compare
juggy1233 added the frontend label 2023-03-19 19:22:54 -04:00
juggy1233 merged commit d05e0fb0e0 into master 2023-03-19 19:35:29 -04:00
juggy1233 deleted branch #21-register-page 2023-03-19 19:35:30 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: juggy1233/COMP-2707-final-project#23