A full-stack food delivery platform with user ordering, admin management, and PhonePe payment integration. Built with modern web technologies for seamless food ordering experience.
- Browse & Search - Explore food items with advanced search
- Add to Cart - Manage cart with quantity controls
- User Authentication - Secure login/signup system
- Order Tracking - Real-time order status updates
- Payment Integration - PhonePe payment gateway
- Order History - View past orders and receipts
- Food Management - Add, edit, delete food items
- Order Management - View and update order status
- User Management - Monitor user activities
- Analytics Dashboard - Sales and revenue insights
- PhonePe Integration - Secure payment processing
- Multiple Payment Options - UPI, Cards, Wallets
- Transaction History - Complete payment records
- Node.js (v14+)
- MongoDB
- PhonePe Merchant Account
# Clone repository
git clone https://github.com/PritomDutta89/Hunger.git
cd Hunger
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm installCreate .env file in backend folder:
PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
PHONEPE_MERCHANT_ID=your_merchant_id
PHONEPE_SALT_KEY=your_salt_key
PHONEPE_SALT_INDEX=your_salt_index# Start backend server
cd backend
npm start
# Start frontend (in new terminal)
cd frontend
npm startAccess the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000
- Admin Panel: http://localhost:3000/admin
Frontend:
- React.js
- React Router
- Axios
- CSS3
Backend:
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT Authentication
Payment:
- PhonePe Payment Gateway
Hunger/
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── context/
│ │ └── App.js
│ └── package.json
├── backend/
│ ├── models/
│ ├── routes/
│ ├── controllers/
│ ├── middleware/
│ └── server.js
└── README.md
- Home page with food listings
- Cart and checkout page
- Order tracking page
- Dashboard with analytics
- Food management interface
- Order management system
- Fork the repository
- Create feature branch (
git checkout -b feature/NewFeature) - Commit changes (
git commit -m 'Add NewFeature') - Push to branch (
git push origin feature/NewFeature) - Open Pull Request
Pritom Dutta
- PhonePe for payment gateway
- MongoDB for database
- React community for amazing tools
⭐ Star this repo if you find it useful!
Made with ❤️ for food lovers