This repository contains the frontend code for our application, built with Vite for fast and optimized development. Below, you'll find instructions for setting up the project, installing dependencies, and running it locally.
Ensure you have the following software installed on your system:
-
Clone the Repository
git clone https://github.com/DoMakina/frontend.git
-
Navigate to the Project Directory
cd frontend
-
Install Dependencies Run the following command to install the necessary packages:
npm install
To start the development server, use the following command:
npm run dev
This will start Vite's development server, which supports hot-reloading, enabling you to see changes in real-time. By default, the project runs at http://localhost:5173
, though you can check the terminal for the exact URL.
When you're ready to build the project for production, use the following command:
npm run build
This command compiles the project into an optimized production-ready bundle located in the dist
directory.
The project relies on environment variables stored in a .env
file. A sample configuration file, .env.sample
, is included for reference. To configure environment variables:
-
Copy
.env.sample
to.env
:cp .env.sample .env
-
Open
.env
and update the values as needed for your local setup.
This README provides all the steps you need to get the project running locally. If you have any questions, feel free to reach out!