A comprehensive collection of React projects showcasing my learning journey from basics to advanced concepts. This monorepo contains multiple React applications built with Vite, demonstrating various concepts, libraries, and best practices.
Road_to_React/
βββ π¦ package.json # Root package.json with monorepo scripts
βββ π§ vercel.json # Vercel deployment configuration
βββ π README.md # This file
βββ π .gitignore # Git ignore rules
β
βββ π± React Projects (Vite):
β βββ 02counter/ # Simple counter app
β βββ background-changer/ # Dynamic background color changer
β βββ Calculator/ # Calculator application
β βββ CurrencyConverter/ # Real-time currency converter
β βββ password-generator/ # Secure password generator
β βββ React-router-site/ # React Router demonstration
β βββ tailwind-props-react/ # Tailwind CSS with props
β βββ vite-react/ # Basic Vite React setup
β
βββ π± Classic React:
β βββ 0basicreact/ # Create React App project
β
βββ π§ Custom Implementation:
βββ customReact/ # Custom React implementation
- Node.js (β₯18.0.0)
- npm (β₯8.0.0)
- Git
# Clone the repository
git clone https://github.com/YUVRAJRANA10/Road-to-React.git
cd Road-to-React
# Install all dependencies
npm run install:all# Counter App
npm run dev:counter
# Background Changer
npm run dev:background-changer
# Calculator
npm run dev:calculator
# Currency Converter
npm run dev:currency-converter
# Password Generator
npm run dev:password-generator
# React Router Site
npm run dev:router-site
# Tailwind Props Demo
npm run dev:tailwind-props
# Basic Vite React
npm run dev:vite-react# Build all projects
npm run build:all
# Build individual projects
npm run build:counter
npm run build:currency-converter
# ... and so on| Project | Description | Tech Stack | Live Demo |
|---|---|---|---|
| React Router Site | Multi-page application with routing | React, React Router, Tailwind CSS | Live Demo |
| Currency Converter | Real-time currency conversion | React, API Integration, Tailwind CSS | Live Demo |
| Background Changer | Dynamic background color picker | React, useState Hook | Coming Soon |
| Password Generator | Secure password generator with options | React, useState, useEffect | Coming Soon |
| Counter App | Simple increment/decrement counter | React, useState Hook | Coming Soon |
| Calculator | Basic calculator application | React, useState Hook | Coming Soon |
| Tailwind Props | Component props with Tailwind styling | React, Tailwind CSS, Props | Coming Soon |
| Project | Description | Purpose |
|---|---|---|
| Basic React | Create React App setup | Understanding React basics |
| Custom React | Custom React implementation | Learning React internals |
| Vite React | Basic Vite setup | Modern build tool familiarity |
- Frontend Framework: React 19+
- Build Tool: Vite 7+
- Styling:
- Tailwind CSS
- Vanilla CSS
- Routing: React Router DOM
- Development Tools:
- ESLint
- PostCSS
- Autoprefixer
- Deployment: Vercel
- β Components and JSX
- β Props and State
- β Event Handling
- β Conditional Rendering
- β Lists and Keys
- β useState
- β useEffect
- β Custom Hooks
- β useCallback
- β useMemo
- β React Router
- β API Integration
- β Form Handling
- β Component Composition
- β State Management
- β Tailwind CSS
- β Responsive Design
- β Component Styling
- β CSS Modules
This monorepo is configured for individual project deployments on Vercel. Each project folder is deployed as a separate application with its own domain.
Each project gets its own Vercel deployment:
| Project | Live Demo | Repository Folder |
|---|---|---|
| React Router Site | Live Demo | React-router-site/ |
| Currency Converter | Live Demo | CurrencyConverter/ |
| Background Changer | Coming Soon | background-changer/ |
| Password Generator | Coming Soon | password-generator/ |
| Tailwind Props | Coming Soon | tailwind-props-react/ |
| Counter App | Coming Soon | 02counter/ |
# Deploy from root directory
npm run deploy:router-site
npm run deploy:currency-converter
npm run deploy:background-changer
npm run deploy:password-generator
npm run deploy:tailwind-props
npm run deploy:counter# Navigate to any project folder and deploy
cd React-router-site
vercel --prodπ For detailed deployment instructions, see DEPLOYMENT.md
# Development
npm run dev # Show available dev commands
npm run dev:<project-name> # Run specific project
# Building
npm run build:all # Build all projects
npm run build:<project-name> # Build specific project
# Maintenance
npm run install:all # Install all dependencies
npm run clean:all # Clean all build artifacts- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
YUVRAJ RANA
- GitHub: @YUVRAJRANA10
- Learning Journey: React Development
- Add testing with Jest and React Testing Library
- Implement state management with Redux/Zustand
- Add TypeScript to projects
- Create more advanced projects
- Add performance optimization examples
- Implement PWA features
This repository represents my learning journey in React development. Each project builds upon previous concepts and introduces new ones. Feel free to explore, learn, and contribute!