π½οΈ FoodHub Backend β RESTful API for Food Delivery App The FoodHub Backend is a powerful and secure REST API built with Node.js, Express, and MongoDB, powering all core functionality of the FoodHub food delivery platform.
π Features π JWT Authentication for secure login and protected routes
π§βπΌ Role-based Access Control: Admin, Owner, Moderator, User
πͺ Restaurant & Menu Management: Add, update, delete restaurants and food items
π Cart System: Add to cart, update quantity, remove items
π¦ Order Management: Place orders, track order history
π³ Payment Integration with Stripe and SSLCommerz
π Admin & Owner Dashboards with statistics and reports
π Search & Filtering APIs for foods and restaurants
π§Ύ Invoice & Payment Logs for each transaction
π οΈ Tech Stack Node.js β JavaScript runtime environment
Express.js β Backend web framework
MongoDB + Mongoose β NoSQL database
JWT β Token-based authentication
Stripe / SSLCommerz β Payment gateways
Dotenv β Secure environment config
CORS β Cross-origin request handling