Welcome to Cheat Meal, your go-to food delivery platform for satisfying all your cravings. Whether you're a customer looking for a quick, delicious meal or a restaurant owner wanting to reach more customers, Cheat Meal has got you covered. This web app features separate authentication for customers and restaurants, ensuring a seamless experience for both parties.
- Customer & Restaurant Authentication: Secure login for both customers and restaurants with separate dashboards.
- Restaurant Menu Management: Restaurants can manage their menu, add new dishes, and update existing ones.
- Order Tracking: Customers can track their food orders in real-time.
- Payment Integration: Multiple payment options, including credit card, debit card, and digital wallets.
- User Reviews & Ratings: Customers can leave reviews and rate the food quality, delivery, and service.
- Responsive Design: Fully optimized for both desktop and mobile devices.
- Search & Filter: Users can search for restaurants or dishes based on location, cuisine, or price.
- Push Notifications: Get real-time updates on order status, new deals, and promotions.
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens) for secure user sessions
- Payment Gateway: Stripe API for payment processing
- Cloud Storage: AWS S3 for image and media storage
- Deployment: Vercel (Frontend), Heroku (Backend)
To run the app locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Abhishek-Jaiswar/cheat-meal.git
-
Navigate to the project directory:
cd cheat-meal
-
Install the required dependencies:
npm install
-
Set up environment variables. Create a
.env
file in the root directory and add the following keys:MONGO_URI=your-mongodb-uri JWT_SECRET=your-jwt-secret STRIPE_SECRET=your-stripe-secret-key AWS_ACCESS_KEY_ID=your-aws-access-key AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
-
Run the backend server:
npm run dev
-
Open a new terminal navigate to frontend and run it by:
npm run dev
Your Cheat Meal Food Delivery App should now be up and running at http://localhost:3000
.
- Sign Up/Log In: Create an account or log in to an existing one.
- Browse Restaurants: Explore the list of partnered restaurants.
- Order Food: Select items from the menu, customize your order, and proceed to checkout.
- Track Order: Follow your order's journey from preparation to delivery in real-time.
- Sign Up/Log In: Register your restaurant or log in to an existing account.
- Manage Menu: Add, remove, or update menu items.
- Process Orders: Accept and track customer orders.
- View Analytics: Get insights into sales and customer reviews.
The app provides several API endpoints for interacting with customer and restaurant data.
- POST
/api/v1/auth/signup
- Sign up as a customer or restaurant - POST
/api/v1/auth/login
- Log in to your account
- GET
/api/customers/orders
- View customer orders - POST
/api/customers/order
- Place a new order
- GET
/api/restaurants/menu
- Get restaurant's menu - POST
/api/restaurants/menu
- Add a new menu item - PATCH
/api/restaurants/menu/:id
- Update a menu item
We welcome contributions! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or support, please feel free to reach out:
- Email: support@cheatmeal.com
- Website: Cheat Meal
- LinkedIn: Cheat Meal LinkedIn