
Role: Full Stack Developer & Chatbot Architect
Technology Stack: MEAN Stack (MongoDB, Express, Angular 2, Node.js), Mongoose (ODM), Facebook Graph API
Client: Confidential Founder Client from Hong Kong
I developed and deployed a Facebook Messenger-based food ordering chatbot with a separate administrative application. The chatbot allows customers to browse food items according to configured meal periods, review product details, customize orders, complete checkout using previously stored customer information, and check order status through Messenger. The backend, built with the MEAN stack, supports product, time-period, conversation-reply, and order management. The two applications were deployed separately on Heroku.
Conversational Interface and Dynamic Ordering Logic
The customer-facing chatbot uses Facebook Messenger to guide users through food selection and ordering. Its predefined conversational flows support the following functions:
- Time-Based Menu Display: Food items are displayed according to configured time periods, such as Breakfast, Lunch, Dinner, and Snacks.
- Product Details and Extra Requests: Customers can view food-item details and respond to additional prompts, such as selecting a complimentary beverage where applicable.
- Conversational Checkout: The bot uses previously stored customer information, such as a delivery address and phone number, to support the order-confirmation process.
- Order Status Lookup: Customers can query the chatbot through Messenger to check the current status of an existing order, such as Processing or Delivered.




Content Management
The administrative application was built with the MEAN stack, using MongoDB for data storage and Mongoose for object-document mapping. It provides the following management functions:
- Order Management: Administrators can review orders, customer Facebook IDs, delivery addresses, and order statuses such as Processing and Delivered.
- Dialogue Management: Administrators can configure greetings and general replies associated with keywords, including examples such as “Hello” and “Good morning.”
- Product and Time-Period Management: Administrators can add, edit, and categorize food items, maintain prices and product details, and configure the periods during which menu items are available.




