MY PORTFOLIO

BUG-TYPING

The Bug-Typing Game is a full-stack, interactive web application designed to enhance typing speed and accuracy.

It provides a dynamic platform to improve typing skills by practicing with randomized sentences and receiving real-time performance feedback.

Key Features

Technologies Used

Frontend:

  • **React.js:** Used for building the dynamic and responsive user interface.
  • **HTML5:** Provides the foundational structure of the web pages.
  • **CSS3:** Utilized for styling and visual presentation of the application.
  • **JavaScript (ES6+):** Implements core frontend logic, interactivity, and client-side operations.

Backend:

  • **Node.js & Express.js:** Used to create a robust RESTful API for handling data requests and responses.
  • **MongoDB:** A NoSQL database for efficient storage of typing test results and sentences.
  • **Mongoose ODM:** An Object Data Modeling (ODM) library for Node.js, simplifying interactions with MongoDB.
  • **CORS Middleware:** Configured to enable secure cross-origin resource sharing between the frontend and backend.

Tutorial & GitHub Repository

Getting Started (Local Development)

To set up and run the Bug-Typing game on your local machine for development or testing, follow these steps:

  1. **Clone the repository:**
    git clone https://github.com/garimaa001/Bug-Typing.git
  2. **Navigate to the project directory:**
    cd Bug-Typing
  3. **Backend Setup:**
    • Go to the backend folder:
      cd backend
    • Install dependencies:
      npm install
    • Create a .env file in the backend folder and add your MongoDB connection string.
    • Start the backend server:
      npm start
  4. **Frontend Setup:**
    • Open a new terminal and go to the frontend folder:
      cd frontend-react
    • Install dependencies:
      npm install
    • Start the React development server:
      npm start
  5. The frontend should automatically open in your browser, usually at http://localhost:3000.