Skip to content

Latest commit

Β 

History

History
89 lines (60 loc) Β· 2.29 KB

File metadata and controls

89 lines (60 loc) Β· 2.29 KB

🍽️ Best Resto

Find the best restaurants near you β€” filtered by rating, cuisine, dietary preferences, and services.
Live demo πŸ‘‰ Best Resto on Vercel


πŸ“Έ Screenshot

Best Resto Screenshot


πŸš€ Features

  • 🌍 Search by location – use GPS or type a city/area (e.g., "Baner Pune").
  • 🍲 Cuisine search – filter by keywords like biryani, pizza, south indian.
  • ⭐ Rating filters – minimum rating slider (e.g., 4.0+).
  • πŸ₯— Dietary options – Veg only, Non-veg, or Both.
  • πŸ›ŽοΈ Service filters – Delivery, Dine-in, Takeout.
  • πŸ”Ÿ Top results – choose top 5, 10, 15, or 20 restaurants.
  • 🧠 AI-powered rationale – optional OpenAI integration to explain why results were picked.
  • πŸ“· Place photos – pulled from Google Places API.
  • πŸ“± Responsive design – inspired by Zomato/Airbnb search UIs.

πŸ› οΈ Tech Stack

  • Frontend: Next.js 15 (App Router, Turbopack)
  • Styling: Tailwind CSS
  • APIs:
    • Google Places API (for restaurant data, ratings, and photos)
    • OpenAI API (optional: re-ranking and rationale)
  • Deployment: Vercel

βš™οΈ Getting Started

Clone the repo and install dependencies:

git clone https://github.com/<your-username>/BestResto.git
cd BestResto
npm install


πŸ”‘ Environment Variables

Create a .env.local file in the root with:
GOOGLE_MAPS_API_KEY=your_google_places_api_key
OPENAI_API_KEY=your_openai_key   # (optional, only for AI rationale)


You can get a Google API key from Google Cloud Console
The OpenAI key is optional (remove if you don’t want AI explanation).

πŸƒ Running Locally
Start the dev server:
npm run dev


Visit http://localhost:3000
.

πŸ—οΈ Production Build
To simulate production:
npm run build
npm run start

🌍 Deployment

The app is deployed on Vercel:
πŸ‘‰ https://best-resto-shubhams-projects-dd9b6f23.vercel.app/

You can also fork and deploy your own version with:
npx vercel

πŸ“Œ Future Improvements
Add user login + favorites.
Add map view with restaurant pins.
Add pricing filters and categories.
Improve AI ranking with more context.

πŸ‘¨β€πŸ’» Author
Shubham Dudhal

πŸ’Ό GitHub: @shubhd556