Berea Bazaar is a campus-focused marketplace and community platform built with Next.js and Supabase.
Core capabilities include:
- Marketplace listings (free, sell, lend, rent)
- Private wishlists with potential-match notifications
- In-app messaging and reviews
- Free Food event posting and browsing
- Building-aware location metadata with map browsing
Full documentation lives in docs/README.md.
Direct links:
- Architecture
- Setup Guide
- Environment Variables
- Database Schema and Migrations
- HTTP API Reference
- Feature Documentation
- Security and Access Model
- Operations Runbook
- Next.js App Router
- TypeScript + React
- Tailwind CSS + Radix UI
- Supabase (Auth, Postgres, RLS)
- Vercel Blob for private image storage
- Leaflet for listing map view
-
Install dependencies.
npm install
-
Configure environment variables in .env.local.
-
Run SQL migrations in sequence (see docs/DATABASE.md).
-
Start the app.
npm run dev
-
Open http://localhost:3000.
- npm run dev
- npm run build
- npm run start
- npm run lint
- npm run backfill:buildings
- Keep secrets out of git.
- Use migration scripts for all schema changes.
- Keep docs updated in the same PR as behavior or schema changes.
When adding or changing features:
- Update affected API docs in docs/API.md.
- Update schema docs in docs/DATABASE.md if a migration is added.
- Update feature docs in docs/FEATURES.md.
- Add operational notes to docs/OPERATIONS.md when needed.