<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/medium-xcx0qmhwk" -->

---
title: Medium | daily.dev
description: A developer built an AI-powered WhatsApp food pre-booking system for a large university campus with 65+ canteens using Python, FastAPI, SQLite, and Google...
canonical: https://daily.dev/posts/medium-xcx0qmhwk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Medium | daily.dev
og:description: A developer built an AI-powered WhatsApp food pre-booking system for a large university campus with 65+ canteens using Python, FastAPI, SQLite, and Google...
og:url: https://daily.dev/posts/medium-xcx0qmhwk
og:image: https://api.daily.dev/og/posts/xcx0QmhWk.png
og:image:alt: Medium
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Medium

**[Medium](https://daily.dev/sources/medium_js)** · 5 min read · 0 upvotes · 0 comments

## Summary

A developer built an AI-powered WhatsApp food pre-booking system for a large university campus with 65+ canteens using Python, FastAPI, SQLite, and Google Gemini 1.5 Pro. The system lets students order via natural language chat, maintains a persistent shopping cart with a state machine, and features smart scheduling that only surfaces orders to vendors 20 minutes before pickup. Key engineering challenges covered include NLP rate-limit fallbacks via regex parsing, asynchronous order monitoring with asyncio, a custom glassmorphism payment UI, and a local WhatsApp simulator to bypass Twilio sandbox limits during development.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@mohitapriyam/building-a-smart-whatsapp-food-pre-booking-system-for-65-university-canteens-using-python-d5c4912d1d4b>

## Similar posts on daily.dev

- [What a pizza-ordering hackathon reveals about connecting AI agents to the Web](https://daily.dev/posts/what-a-pizza-ordering-hackathon-reveals-about-connecting-ai-agents-to-the-web-qti5eozxo) · Brave · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#bots](https://daily.dev/tags/bots), [#google-gemini](https://daily.dev/tags/google-gemini), [#fastapi](https://daily.dev/tags/fastapi)

[View this post on daily.dev](https://daily.dev/posts/medium-xcx0qmhwk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Medium","url":"https://daily.dev/posts/medium-xcx0qmhwk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/medium-xcx0qmhwk"},"datePublished":"2026-07-25T22:56:57.822Z","dateModified":"2026-07-25T22:57:26.112Z","description":"A developer built an AI-powered WhatsApp food pre-booking system for a large university campus with 65+ canteens using Python, FastAPI, SQLite, and Google...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/medium-xcx0qmhwk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,bots,google-gemini,fastapi","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"Medium"}]}
```

