Skip to content

Chameleon-company/EVAT-Website

Repository files navigation

⚡ Project Setup Guide (EVAT Website Frontend)

This repository contains a Vite + React project. Follow the instructions below to set up your environment and run the app locally.


📦 Prerequisites


⚙️ Environment Variables

You need a .env file at the root of the project to configure API endpoints and other secrets.

Create a .env file:

VITE_API_URL=http://localhost:8080/api

Also, make sure .env is listed in your .gitignore so secrets are not pushed to GitHub.


▶️ Running the App

The app will not work without the backend running locally

To view the website for development:

npm run dev

Build for production:

npm run build

Preview the production build:

npm run preview

👨🏻‍💻 Development

  1. Clone the Backend locally
  2. Follow the readme to install dependencies and run the backend
  3. Fork this repository
  4. Clone the frontend fork locally
  5. Install frontend dependencies and environment variables described above and run the development app
    npm install
    npm run dev
  6. Commit your changes
  7. Submit a pull request

About

website version of the EV application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 13