Skip to content

Galive007/LocalFoodLoverReviews-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍽️ Local Food Reviews

Food Banner

React Vite TailwindCSS DaisyUI Node.js MongoDB License


📌 Project Overview

Local Food Reviews is a full-stack MERN web application designed to help users discover, review, and rate local food items and restaurants. It focuses on community-driven feedback, clean UI, and secure user interactions.

This project demonstrates real-world development skills including authentication, protected routes, REST APIs, database design, and responsive UI — making it ideal for professional portfolios and job applications.


🌐 Live Demo


✨ Key Features

👤 User Features

  • User authentication (Login / Register)
  • Browse local food & restaurant listings
  • Add ratings and written reviews
  • Edit & delete own reviews
  • View recent and top-rated foods
  • Responsive design for mobile, tablet & desktop

🛠️ Admin / Advanced Features

  • Protected routes using JWT
  • Secure API with role-based access
  • Centralized error handling
  • Reusable React components

🧑‍💻 Tech Stack

Frontend

  • React
  • Vite
  • Tailwind CSS
  • DaisyUI
  • React Router DOM
  • Axios
  • React Hook Form
  • SweetAlert2

Backend

  • Node.js
  • Express.js
  • MongoDB
  • JWT Authentication
  • CORS & dotenv

📁 Project Structure

Frontend

src/
├── assets/
├── components/
├── hooks/
├── layouts/
├── pages/
├── routes/
├── App.jsx
└── main.jsx

Backend

server/
├── routes/
├── controllers/
├── middleware/
├── config/
├── index.js
└── package.json

⚙️ Installation Guide

🔹 Frontend Setup

git clone https://github.com/your-username/local-food-reviews.git
cd local-food-reviews
npm install
npm run dev

Frontend will run at:

http://localhost:5173

🔹 Backend Setup

git clone https://github.com/your-username/local-food-reviews-server.git
cd local-food-reviews-server
npm install
npm run start

Backend will run at:

http://localhost:4000

🔐 Environment Variables

Frontend (.env)

VITE_API_URL=http://localhost:4000
VITE_FIREBASE_API_KEY=your_firebase_key

Backend (.env)

PORT=4000
DB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret

🔄 API Endpoints (Sample)

GET    /foods
POST   /reviews
GET    /reviews/:id
PATCH  /reviews/:id
DELETE /reviews/:id

📸 Screenshots

📌 Homepage Screenshot

Save the homepage image as:

screenshots/home.png

then commit & push to GitHub to display it below.

Local Food Lover Networks – Home


🚀 Future Enhancements

  • Advanced search & category-based filtering
  • User profile dashboard with activity history
  • Like, comment & reply system
  • Admin moderation panel
  • Image upload with cloud storage
  • Performance optimization & SEO improvements

👨‍💻 Author

md. al amin (Galive) Frontend & MERN Stack Developer


📄 License

This project is licensed under the MIT License.


If you like this project, consider giving it a star on GitHub!

About

Local Food Lover Reviews is a modern frontend application where users can explore, review, and rate local food spots. The project emphasizes responsive design, usability, and performance while promoting local restaurants.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors