Skip to content

Type rush is a modern, responsive typing application that helps users improve their typing speed and accuracy.

Notifications You must be signed in to change notification settings

amolmt/typerush

Repository files navigation

Type Rush App

Type Rush is a modern, responsive typing application that helps users improve their typing speed and accuracy. It features a clean and intuitive user interface.


✨ Demo

Live Demo: TypeRush Demo

🚀 Tech Stack

This project was built using:

  • Frontend:

    • React - Component-based library for building user interfaces.
    • TypeScript - Static typing for better code maintainability.
    • Vite - Fast and modern frontend build tool.
    • Shadcn UI - Styled and customizable components.
    • React Query - Data fetching and state synchronization.
    • Tailwind CSS - Utility-first CSS for responsive and fast UI design.
  • Backend:

    • Placeholder API or Mock Data - Used to simulate fetching sample text and leaderboard entries.
  • State Management:

    • Zustand - Lightweight state management library.

✨ Features

  1. Typing Test:

    • Displays randomized typing text.
    • Tracks real-time accuracy and words-per-minute (WPM).
  2. Stats Display:

    • Shows WPM and Accuracy dynamically during typing.
  3. Leaderboard:

    • Displays a leaderboard of top performers fetched dynamically.
  4. Theming:

    • Dark, modern theme with responsive design.

🛠️ Local Setup Instructions

Follow these steps to set up the project on your local machine:

Prerequisites

  • Node.js (v18+): Download and install Node.js.
  • npm: Ensure you have a package manager installed.
  • Git: Version control system.

Steps to Setup the Project

  1. Clone the Repository:

    git clone https://github.com/amolmt/typerush.git
    cd typing-practice-app
  2. Install Dependencies: Run the following command to install all project dependencies:

    npm install
  3. Run the Development Server: Start the Vite development server using:

    npm run dev
  4. Open the App: The app will be running on:

    http://localhost:5173
    
  5. Build for Production (Optional): To generate a production build, run:

    npm run build
  6. Run the Production Server (Optional): Serve the production files locally using:

    npm run preview

📂 Project Structure

Here’s an overview of the folder structure:

src/
├── components/        # Reusable UI components
│   ├── Header.tsx     # Application header
│   ├── Leaderboard.tsx # Leaderboard component
│   ├── StatsDisplay.tsx # WPM and Accuracy display
│   └── TypingArea.tsx # Typing input and display
├── assets/            # Static assets (e.g., fonts, images)
├── store/             # Zustand or state management setup
├── api/               # API integrations or mock services
├── App.tsx            # Root component
└── main.tsx           # React entry point

🌟 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature.
  3. Commit your changes: git commit -m "Add your feature".
  4. Push to your branch: git push origin feature/your-feature.
  5. Open a Pull Request.

🔗 Links


🛡️ License

This project is licensed under the MIT License.

About

Type rush is a modern, responsive typing application that helps users improve their typing speed and accuracy.

Resources

Stars

Watchers

Forks

Packages

No packages published