Skip to content

Repository files navigation

React Router v6 Projects

Welcome to the React Router v6 Projects repository! This collection of projects is designed to help you master React Router v6 by working on real-world applications. Each project covers different aspects of routing, providing you with a comprehensive understanding of how to build dynamic and interactive React applications.

Table of Contents

  • [Introduction]
  • [Projects Overview]
    • [Project 1: Blog App]
    • [Project 2: User Management App]
    • [Project 3: E-commerce Store]
    • [Project 4: Recipe App with Search]
    • [Project 5: Task Manager App]
    • [Project 6: Multi-Step Form with Navigation]
  • [Getting Started]
  • [Installation]
  • [Contributing]
  • [License]

Introduction

This repository contains six projects that are designed to help you learn and practice React Router v6. By following along with these projects, you will gain hands-on experience in implementing routing, dynamic navigation, and managing complex state across your React applications.

Projects Overview

Project 1: Blog App

Topics Covered:

  • Basic Routing
  • Dynamic Routing with URL Parameters

In this project, you will build a simple blog application. You'll learn how to set up routes for displaying a list of blog posts and individual post details dynamically based on URL parameters.

View Code

Project 2: User Management App

Topics Covered:

  • Nested Routes
  • Protected Routes

This project involves creating a user management application where admins can view and manage users. You'll learn how to set up nested routes and protect certain routes from unauthorized access.

View Code

Project 3: E-commerce Store

Topics Covered:

  • Dynamic Routing
  • State Management

In this project, you'll build an e-commerce store with product listings, product details, and a shopping cart. You'll learn how to manage routes and state across the application to create a seamless user experience.

View Code

Project 4: Recipe App with Search

Topics Covered:

  • Search Functionality
  • Query Parameters

This project focuses on building a recipe app where users can search for recipes. You'll learn how to handle query parameters and dynamically filter and display search results based on user input.

View Code

Project 5: Task Manager App

Topics Covered:

  • Complex Nested Routing
  • State Management with Context

In this project, you'll create a task manager application that allows users to manage their tasks with different views (e.g., all tasks, completed tasks, etc.). You'll learn how to manage complex nested routes and use context to manage state.

View Code

Project 6: Multi-Step Form with Navigation

Topics Covered:

  • Multi-Step Forms
  • Navigation and State Persistence

This project will guide you through creating a multi-step form with navigation. You'll learn how to persist state across form steps and implement custom navigation logic.

View Code

Getting Started

To get started with these projects, follow these steps:

  1. Clone this repository:

    git clone https://github.com/DavyDevelops/React-Router-Course-projects.git
    
  2. Navigate to the project directory:

    cd react-router-v6-projects
    
  3. Install dependencies:

    npm install
    
  4. Navigate to the specific project directory you want to work on:

    cd blog-app  # Example
    
  5. Start the development server:

    npm start
    
  6. Open your browser and visit http://localhost:3000(for create react app) or http://localhost:5173(for vite) to see the project in action.

Contributing

Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.

License

This repository is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages