This project was completed as part of my front-end internship at Foothill Technology Solutions. The main goal was to learn and apply the concepts of React Router DOM by following a detailed tutorial.
The tutorial followed is from the official React Router documentation. You can view the tutorial here.
The project covers the following objectives:
- Understanding What React Router Is.
- Recognizing When to Use React Router.
- Getting Started and Installation: Learn how to install React Router.
- Components of React Router.
- Learn How to Create Routes.
- URL Parameters.
- Programmatic Navigation.
- Understanding React Router Hooks.
- 404 Page Handling.
- Testing with React Router.
Each title in the table of contents in that tutorial has been implemented as a single commit in this repository to ensure a clear and structured learning path.
You can view a live demo of the project here.
- Basic routing setup
- Nested routes
- URL parameters
- Programmatic navigation
- Custom 404 page
- Integration of React Router hooks
To clone and run this project locally, follow these steps:
- Clone the repository
git clone https://github.com/Jamal-SaadEddin/React-Router-Tutorial.git
- Navigate to the project directory
cd React-Router-Tutorial
- Install dependencies
npm install
- Run the project
npm run dev
This will start the development server and you can view the project in your browser at http://localhost:5173/
.
- This task is part of the Foothill Technology Solutions Internship Cycle.
- Big thanks to my trainer @Huthaifa
Thank you for visiting my project! Feel free to star or contribute to the repository if you find it useful.