Skip to content

M0hit1029/MealSphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

55 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍽️ MealSphere

MealSphere is a full-stack dining platform that helps students discover and subscribe to local mess services within a 2km radius. Users can view menus, reserve meals, and purchase monthly subscriptions, while mess owners can manage visibility and meal scheduling.


πŸš€ Tech Stack

  • Frontend: React.js, Tailwind CSS, Vite
  • Backend: Node.js, Express.js
  • Database: MongoDB Atlas
  • Authentication: JWT, Cookies, Bcrypt
  • Scheduling: Node-Cron
  • File Uploads: Multer

πŸ“¦ Installation Guide

Follow these steps to run MealSphere locally:

  1. Clone the repository

    git clone https://github.com/M0hit1029/MealSphere.git
    cd MealSphere
  2. Install dependencies in both frontend and backend folders:

    cd frontend
    npm install
    cd ../backend
    npm install
  3. Setup Environment Variables
    In /backend/.env, add your MongoDB connection string:

    MONGO_URI=your_mongo_cluster_link
  4. Start the backend server

    node index.js
  5. Configure frontend environment
    In /frontend/.env, add:

    VITE_BACKEND_URL=http://localhost:5000
  6. Run the frontend

    cd ../frontend
    npm run dev

πŸ”— Live Demo


πŸ“Œ Features

  • 🌍 Geo-based mess recommendations (within 2km)
  • 🧾 View and manage menus
  • πŸ” Secure login/signup using JWT & cookies
  • πŸ“… Meal reservation and monthly plans
  • πŸ“€ Mess image uploads using Multer
  • ⏰ Scheduled cleanup using Cron

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published