grapevine is a course and advisor review platform for IIIT Hyderabad.
If you use Nix, you can use flake.nix for a development shell with required dependencies.
Otherwise,you will need:
Copy .env.example over to .env. Make changes if needed (add your email to MODERATOR_EMAILS to test moderator capabilities)
cp .env.example .env
Start the postgres container:
docker compose -f docker-compose.dev.yml up -d
Run the migrations:
cd server
sqlx migrate run
cd ..
Seed the database:
cd server
cargo run --bin seed
cd ..
To run the backend:
cd server
cargo run
Runs at http://localhost:3000
To run the frontend:
cd web
bun install
bun run dev
Runs at http://localhost:5173