A modern, full-stack food delivery application that streamlines the process of ordering food from local restaurants. Users can easily browse menus, place secure orders, track deliveries in real-time, and enjoy multiple payment options.
✅ Menu Browsing - Browse through restaurant menus with detailed food items and descriptions
✅ Secure Payments - Multiple payment options for safe and secure transactions
✅ Real-time Order Tracking - GPS-enabled order tracking to monitor delivery in real-time
✅ Push Notifications - Get timely updates about your order status
✅ User-Friendly Interface - Intuitive and responsive design for seamless experience
✅ Restaurant Management - Dashboard for restaurants to manage orders and menus
✅ Order History - Keep track of all previous orders
- React - UI library
- Vite - Build tool and dev server
- React Router - Client-side routing
- CSS/Tailwind CSS - Styling
- Node.js & Express - Server and API
- MongoDB - Database
- Vercel - Frontend hosting
- Heroku/AWS - Backend hosting
- Node.js (v14 or higher)
- npm or yarn
- Git
git clone https://github.com/Adarshkumar0509/Food-delivery.git
cd Food-deliverynpm installCreate a .env file in the root directory and add your configuration:
REACT_APP_API_URL=your_backend_url
REACT_APP_STRIPE_KEY=your_stripe_public_key
npm run devThe application will be available at http://localhost:5173
npm run buildFood-delivery/
├── src/
│ ├── components/ # Reusable components
│ ├── pages/ # Page components
│ ├── services/ # API services
│ ├── hooks/ # Custom hooks
│ ├── context/ # React context
│ ├── utils/ # Utility functions
│ ├── styles/ # CSS files
│ ├── App.jsx # Main App component
│ └── main.jsx # Entry point
├── public/ # Static assets
├── .gitignore
├── package.json
└── README.md
- Sign up or log in to your account
- Browse available restaurants and their menus
- Add items to your cart
- Proceed to checkout
- Choose payment method and complete transaction
- Track your order in real-time
- Receive notifications when order is out for delivery
- Register as a restaurant partner
- Add your menu items
- Receive and manage orders through the dashboard
- Update order status
- View analytics and reports
GET /api/restaurants- Get all restaurantsGET /api/restaurants/:id/menu- Get restaurant menuPOST /api/orders- Create new orderGET /api/orders/:id- Get order detailsPUT /api/orders/:id- Update order status
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Adarsh Kumar - GitHub
If you have any questions or suggestions, feel free to reach out:
- GitHub Issues: Report a bug
- Email: adarsh.kumar@example.com
- React & Vite communities
- All contributors and supporters
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.