An open API service indexing awesome lists of open source software.

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.

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**.

h1
h2
h3

## ๐ŸŽฏ 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