
KoylaPizzaGrill – Backend API
About the Project
KoylaPizzaGrill is a production-grade restaurant management and online ordering system. I designed and built the entire backend API from scratch, implementing features including menu management, order processing, cart handling with Redis caching, user authentication with JWT, and an admin dashboard API for real-time order tracking. The API is structured with a clean MVC architecture and follows RESTful conventions. Redis is used to cache frequently accessed menu data, significantly reducing database load during peak traffic.
⚡ Challenges Faced
- Designing a flexible menu schema that supports nested categories, customizable toppings, and time-based availability (lunch/dinner menus).
- Implementing atomic order processing to prevent race conditions when multiple users order the last available item simultaneously.
- Setting up Redis cache invalidation correctly so menu updates by admins are reflected immediately without stale data being served.
🚀 Future Plans & Improvements
- Add real-time order status updates using WebSockets so customers can track their order in real time.
- Integrate a payment gateway (SSLCommerz or Stripe) for online payments.
- Build a companion mobile app using React Native for riders/delivery staff to receive and update order statuses.