Implement private routers for protected routes.
gabrielbaez04 opened this issue · comments
Gabriel Baez Martes commented
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