This repository contains a Vite + React project. Follow the instructions below to set up your environment and run the app locally.
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/apiAlso, make sure .env is listed in your .gitignore so secrets are not pushed to GitHub.
To view the website for development:
npm run devBuild for production:
npm run buildPreview the production build:
npm run preview- Clone the Backend locally
- Follow the readme to install dependencies and run the backend
- Fork this repository
- Clone the frontend fork locally
- Install frontend dependencies and environment variables described above and run the development app
npm install npm run dev
- Commit your changes
- Submit a pull request