gabrielbaez04 / WorkoutBuilder

Build your Gym Workout - React project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement private routers for protected routes.

gabrielbaez04 opened this issue · comments

When trying to access private routes, if user isnt logged in, redirect to login page, if login is successful then take them to the route they were trying to access.

The publics routes will be:
Signup
Signin
home