Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.08 KB

README.md

File metadata and controls

76 lines (48 loc) · 2.08 KB

Do Makina? Frontend Project

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.

Table of Contents

Prerequisites

Ensure you have the following software installed on your system:

  • Node.js (version 16 or above)
  • npm (version 7 or above)

Installation

  1. Clone the Repository

    git clone https://github.com/DoMakina/frontend.git
  2. Navigate to the Project Directory

    cd frontend
  3. Install Dependencies Run the following command to install the necessary packages:

    npm install

Running the Project

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.

Building for Production

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.

Environment Variables

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:

  1. Copy .env.sample to .env:

    cp .env.sample .env
  2. Open .env and update the values as needed for your local setup.

Additional Notes

This README provides all the steps you need to get the project running locally. If you have any questions, feel free to reach out!