Before running this project, ensure you have Node.js and npm installed on your local machine.
-
Clone this repository to your local machine:
git clone https://github.com/Daniel-TheProgrammer/mini-project
-
Navigate to the project directory:
-
Install dependencies: npm install
To run the development server and start the application locally, run the following command:npm run dev
This will start the development server and open the application in your default web browser. You can access it at http://localhost:3000.
This project requires the environment variables VITE_USER
and VITE_PASSWORD
to be set for authentication purposes. Follow the steps below to set them:
-
Create a
.env
file in the root directory of the project. -
Add the following lines to the
.env
file:
VITE_USER=your-username VITE_PASSWORD=your-password
Replace your-username
and your-password
with your actual credentials.
To build the project for production, run:
This will generate a production-ready build of the application in the dist
directory.
For more information about Vite, please refer to the official documentation.