Skip to content

royalsrivastavagithub/Stopwatch

Repository files navigation

Site : https://royalsrivastava-stopwatch.vercel.app

Stopwatch Application

This is a simple stopwatch application built using React. It allows you to start, stop, and reset a stopwatch, displaying elapsed time in hours, minutes, seconds, and milliseconds.

Vite.+.React.-.Opera.2024-07-31.00-47-13.mp4

Features

  • Start/Stop: Begin or pause the stopwatch.
  • Reset: Reset the stopwatch to zero.
  • Formatted Time: Displays time in HH:MM:SS:MMM format.

Setup

To set up and run this project, follow these steps:

  1. Clone the Repository:

    git clone <repository-url>
  2. Navigate to the Project Directory:

    cd <project-directory>
  3. Install Dependencies:

    Install the required dependencies using npm:

    npm install
  4. Run the Development Server:

    Start the development server with:

    npm run dev
  5. Open the Application:

    Open your browser and navigate to http://localhost:[port_number] to view the stopwatch application.

Development

  • Scripts:

    • npm i: Installs Dependencies.
    • npm run dev: Starts the development server.
    • npm run build: Builds the project for production.
    • npm run start: Starts the production server.
  • Dependencies:

    • Vite
    • React
    • Tailwind

About

This is my first project. Just a basic stopwatch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published