A full-stack web app where restaurant owners can manage their listings and customers can leave reviews.
Live demo: https://restaurant-owner-reviews.netlify.app/
- Owners - add, edit, and delete their restaurants; view all customer reviews
- Customers - browse restaurants by city, leave a review, and edit or delete their own review
- Authentication with role-based access (owner vs. customer)
- Paginated restaurant listings
- Average rating calculated from reviews
- React + Vite
- Supabase (database + auth)
- TanStack Query (data fetching + caching)
- React Router
- Tailwind CSS
npm install
npm run devRequires a .env file with your Supabase project URL and anon key:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key