Skip to content

sj236code/CS490-Group-5-Frontend

Repository files navigation

React + Vite Project

This project is built with Vite for fast development and bundling, and uses React for the UI.


Getting Started

1. Clone the repository

git clone https://github.com/yourusername/yourproject.git
cd cs490-group-5-frontend/

2. Install dependencies

npm install
npm install recharts //for graphs and charts

This installs everything listed in package.json, including React, Vite, and any UI libraries like lucide-react.

3. Install additional libraries if needed

npm install lucide-react

4. Set up environment variables if not set up

Check 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.app

5. Install Router

npm install react-router-dom

To check and confirm succesfully downloaded:

npm list react-router-dom

6. Preview the Production build (locally)

npm run build
npm run preview

This 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.

About

Jade- Salon Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6