Find the best restaurants near you β filtered by rating, cuisine, dietary preferences, and services.
Live demo π Best Resto on Vercel
- π 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.
- 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
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