This project is built with Vite for fast development and bundling, and uses React for the UI.
git clone https://github.com/yourusername/yourproject.git
cd cs490-group-5-frontend/npm install
npm install recharts //for graphs and chartsThis installs everything listed in package.json, including React, Vite, and any UI libraries like lucide-react.
npm install lucide-reactCheck for a .env.production file when you pulled from dev.
If it's there, skip this step.
If not,
Create a .env.production file in the root directory:
VITE_API_URL=https://jade-main.up.railway.appnpm install react-router-domTo check and confirm succesfully downloaded:
npm list react-router-domnpm run buildnpm run previewThis runs the production build locally and connects to the Railway backend (no need to run local backend now!)
Notes- You don’t need to install Vite globally (npm install -g vite) — it runs from the local project setup.