/protected-routes

Create protected routes with React and React Router Dom 🔒

Primary LanguageTypeScript

Protección de rutas con React Router Dom. 💪

This time, we are going to create protected routes with React Router Dom!

demo

 

Features ⚙️

  1. Protected Routes.
  2. Show Public Routes.
  3. Redirecting.

 

Technologies 🧪

  • ▶️ React JS (v 18)
  • ▶️ Vite JS
  • ▶️ TypeScript
  • ▶️ React Router Dom
  • ▶️ CSS vanilla

 

Installation 🧰

  1. Clone the repository (you need to have Git installed).
    git clone https://github.com/Franklin361/protected-routes
  1. Install dependencies of the project.
    npm install
  1. Run the project.
    npm run dev

 

Article links ⛓️

Here's the link to the tutorial in case you'd like to take a look at it! eyes 👀