To run the Thresh web application locally, follow these steps:
- Open a terminal.
- Navigate to the
thresh-ui
directory:cd thresh-ui
- Install dependencies
npm install
- Initialize the database
npx prisma generate npx prisma db push npx prisma db seed
- Start the development server
npm run dev
⚠️ Important:
Make sure you runnpm run dev
from inside thethresh-ui
directory, not the outer project folder.
Running the command from the wrong directory will result in an error like'vite' is not recognized
.
Once the dev server starts, you can access the app at http://localhost:5173.
CS 3354.002
- Neel Suresh
- Isaac Philo
- Aaryaa Moharir
- Sarah Jacob
- Eliza Heasley
- Syed Hasan
- Sean Clarke
- Kutsal Aksu