Prerequisites
Before you begin, ensure you have the following installed on your system:Node.js
Package Manager
Install pnpm (recommended) or use npm/yarn. This repository uses pnpm.
While npm and yarn will work, the projects are optimized for pnpm. Some projects use pnpm-specific overrides for certain dependencies.
Clone the Repository
Clone the React Mini Projects repository to your local machine:Choose a Project
The repository contains three independent React projects:Weather Finder
A weather forecast app using the Open-Meteo API. Features include city search, current weather, and 7-day forecasts.
Gifs App
A GIF search application with Giphy integration, search history, and responsive grid layout.
Hooks App
Educational examples demonstrating React hooks including useState, useEffect, and custom hooks with a traffic light demo.
Install Dependencies
Navigate to the project you want to work with and install its dependencies:Project Dependencies
Here’s what each project includes:Weather Finder
- React 19.2.0 - Latest React version
- TypeScript 5.9.3 - Type safety
- Vite 8 - Fast build tool and dev server
- Vitest - Unit testing framework
- Open-Meteo API - Free weather data (no API key required)
Gifs App
- React 19.2.0 - Latest React version
- TypeScript 5.9.3 - Type safety
- Axios - HTTP client for API requests
- Vite (Rolldown variant) - Optimized build tool
- Vitest - Testing with coverage support
Hooks App
- React 19.2.0 - Latest React version
- TypeScript 5.9.3 - Type safety
- Tailwind CSS 4.1 - Utility-first CSS framework
- Vite 8 - Fast build tool
Verify Installation
To verify everything is set up correctly, try running the development server:http://localhost:5173 to see your project running.
Next Steps
Quickstart Guide
Follow our quickstart guide to build and run your first project
Explore Projects
Deep dive into each project’s features and architecture