Skip to content

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

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
🔹 Demo Video: Watch the Video


⚙️ Setup & Installation

🔹 Frontend Setup

  1. Clone the repository
    git clone https://github.com/Rahulkrsharma2004/Hackathon-Project.git
    cd Backend-Voice-assignment
    

🔹 Backend Setup

  1. Clone the repository
    git clone https://github.com/Rahulkrsharma2004/Hackathon-Project.git
    cd Frontend-Voice-Assignment

About

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.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages