Skip to content

Modern React Router v6 project featuring dynamic routes, private routes, and API-driven pages.

Notifications You must be signed in to change notification settings

Umit8098/React-Project-Router

Repository files navigation

📌 React Router Project – Modern Multipage Website Layout

A modern React Router v6 project demonstrating dynamic routing, private routes, and API-driven pages.

router-project-demo

📚 Navigation


✨ Overview

A responsive multi-page React application built with React Router v6, Bootstrap, and FontAwesome, focusing on dynamic routing, route protection, and API-driven content.

📖 Description

  • This project demonstrates the use of React Router v6 features such as:

    • Static & Dynamic Routing
    • Nested Routes
    • Programmatic Navigation with useNavigate
    • Private Routes for authorization control
    • Route Parameters using useParams
    • Data fetching with fetch, useState, and useEffect
  • It also includes Bootstrap integration, FontAwesome icons, and reusable components for a modular and scalable React structure.

🚀 Features

  • ⚛️ React Router v6 for client-side routing
  • 🔄 Dynamic Routing using useNavigate()
  • 🔐 Private Route implementation
  • 🌐 API Integration with https://jsonplaceholder.typicode.com/
  • 🧩 Reusable Components (Nav, Footer, InstructorDetail, etc.)
  • 🧭 Browser History API (forward/back navigation)
  • 💅 Bootstrap & FontAwesome integration for styling
  • 🚀 Deployed on GitHub Pages

🗂️ Project Skeleton

src/
 │
 |----readme.md   
 │
 ├─ components/
 │   ├─ About.jsx
 │   ├─ Courses.jsx
 │   ├─ Footer.jsx
 │   └─ Nav.jsx
 │
 ├─ img/
 │
 ├─ pages/
 │   ├─ Aws.jsx
 │   ├─ Contact.jsx
 │   ├─ FullStack.jsx
 │   ├─ Home.jsx
 │   ├─ InstructorDetail.jsx
 │   ├─ Instructors.jsx
 │   ├─ NotFound.jsx
 │   ├─ Paths.jsx
 │   └─ PrivateRouter.jsx
 │   
 ├─ App.css
 ├─ App.js
 ├─ index.css
 ├─ index.js
 └─ data.js

🛠️ Built With

⚡ How To Use

To clone and run this application, you'll need Git, Node.js, and a package manager (yarn or npm) installed on your computer.

# Clone this repository
$ git clone https://github.com/Umit8098/React-Project-Router.git

# Navigate into the project folder
$ cd React-Project-Router

# Install dependencies
$ yarn  
$ yarn start

# or using npm
$ npm install
$ npm start

📌 About This Project

  • This project was built to practice and demonstrate advanced React Router concepts while creating a clean, responsive, and multi-page layout.
  • It showcases practical usage of navigation, route protection, and API-driven dynamic content within a modern React environment.

🙏 Acknowledgements


📬 Contact