This document provides instructions to set up and run the Todo React frontend application using npm package manager.
Ensure you have the following installed on your system:
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Clone the Repository
git clone https://github.com/nishanthnaa52/Todo-fontend.git cd Todo-frontend
-
Install Dependencies
Run the following command to install all necessary dependencies:
npm install
-
Start the Development Server
To start the development server, run:
npm run dev
This will start the application and you can view it in your browser at
http://localhost:5173
.
To create a production build of the application, run:
npm run build
This will generate optimized static files in the build
directory.