https://github.com/rahulkrsharma2004/hackathon-project
A voice-enabled restaurant recommendation system that detects the userโs live location, fetches nearby restaurants using OpenStreetMap (Nominatim API) or Foursquare API, and suggests the top 5 menu items using voice output.
https://github.com/rahulkrsharma2004/hackathon-project
axios cors css3 dotenv geolocationapi mern-stack mongodb mongoose nodejs openstreetmap reactjs
Last synced: 8 months ago
JSON representation
A voice-enabled restaurant recommendation system that detects the userโs live location, fetches nearby restaurants using OpenStreetMap (Nominatim API) or Foursquare API, and suggests the top 5 menu items using voice output.
- Host: GitHub
- URL: https://github.com/rahulkrsharma2004/hackathon-project
- Owner: Rahulkrsharma2004
- Created: 2025-02-28T21:54:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T15:35:18.000Z (over 1 year ago)
- Last Synced: 2025-09-13T07:35:44.774Z (9 months ago)
- Topics: axios, cors, css3, dotenv, geolocationapi, mern-stack, mongodb, mongoose, nodejs, openstreetmap, reactjs
- Language: JavaScript
- Homepage: https://hackathon-project-restro.vercel.app
- Size: 13.4 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hackathon-Project
# ๐ฃ๏ธ Voice Assistant for Nearby Restaurants (MERN)
## ๐ Overview
This project is a **voice-enabled restaurant recommendation system** that helps users discover the **top 5 food items** from the nearest restaurants in real-time. It detects the **user's live location**, fetches nearby restaurants from **OpenStreetMap (Nominatim) or Foursquare API**, and announces the recommended food items using the **Speech Synthesis API**.

## ๐ฏ Features
โ
**Live location detection** using Geolocation API
โ
**Fetch nearby restaurants** from OpenStreetMap or Foursquare API
โ
**Voice assistant functionality** to read out the recommendations
โ
**Top 5 menu item suggestions** for each restaurant
โ
**User-friendly interface** with Tailwind CSS
โ
**MERN stack backend** with MongoDB storage
โ
**Fast API response** using indexed geospatial queries
โ
**Secure & optimized deployment** using cloud services
## ๐ Tech Stack
### **Frontend:**
- **React.js** - UI framework
- **Tailwind CSS** - Modern styling
- **Axios** - API requests
- **Geolocation API** - Fetch live user location
- **Speech Synthesis API** - Voice assistant functionality
### **Backend:**
- **Node.js** - Server-side JavaScript
- **Express.js** - API framework
- **MongoDB** - NoSQL database for restaurant data
- **Mongoose** - MongoDB ORM
- **OpenStreetMap API (Nominatim)** - Free location-based search
- **Foursquare Places API** - Alternative for finding restaurants
---
## ๐ How It Works
1๏ธโฃ **User opens the application**
2๏ธโฃ The app **requests live location access**
3๏ธโฃ The backend queries **OpenStreetMap (or Foursquare API)** to find **restaurants near the user**
4๏ธโฃ The database retrieves the **top 5 menu items** for each restaurant
5๏ธโฃ The **Voice Assistant** announces the recommendations
6๏ธโฃ Users can browse through suggestions in the **React UI**
---
## ๐ LINK
๐น **Frontend Deployment:** [Frontend Live Link](https://hackathon-project-restro.vercel.app)
๐น **Demo Video:** [Watch the Video](https://drive.google.com/file/d/1wYqG-zTrB-pCMu_tIj7W-_daY3uYda6j/view?usp=drive_link)
---
## โ๏ธ Setup & Installation
### ๐น Frontend Setup
1. Clone the repository
```sh
git clone https://github.com/Rahulkrsharma2004/Hackathon-Project.git
cd Backend-Voice-assignment
### ๐น Backend Setup
1. Clone the repository
```sh
git clone https://github.com/Rahulkrsharma2004/Hackathon-Project.git
cd Frontend-Voice-Assignment