This time, we are going to create protected routes with React Router Dom!
- Protected Routes.
- Show Public Routes.
- Redirecting.
▶️ React JS (v 18)▶️ Vite JS▶️ TypeScript▶️ React Router Dom▶️ CSS vanilla
- Clone the repository (you need to have Git installed).
git clone https://github.com/Franklin361/protected-routes
- Install dependencies of the project.
npm install
- Run the project.
npm run dev