Ordering application · CASE STUDY

Dona Joana Marmitaria

Case study of an ordering application for a family food business.

The challenge

Organize the ordering workflow of a real business.

The solution

Catalog, cart, checkout and order tracking.

Architecture

Expo/React Native interface and FastAPI with MongoDB persistence.

  1. Expo / React Native
  2. FastAPI
  3. MongoDB

Main features

  • Meal catalog, item selection and shopping cart.
  • Checkout and order tracking.
  • Pix payment integration and transactional communication, as documented by the project.

Technical decisions and limitations

  • The mobile interface consumes a separate API, keeping business rules in the backend.
  • The API uses document storage for orders.
  • The public case study excludes customer data, credentials and real payment operations.

Availability

Source code
Private
Demo
Exists, public listing not cleared
Case study
Available
Status
Published

Context and problem

A local lunchbox shop needed to take orders and charge by Pix without checking receipts by hand. The app covers catalog, cart, dynamic Pix checkout and order tracking.

How it works

  1. Catalog
  2. Cart
  3. Dynamic Pix checkout (Asaas)
  4. Confirmation
  5. Order tracking

Business rules

  • Pix is generated through the Asaas integration at checkout.
  • Business data leaves the API only with authentication.

Technical challenges and solutions

  • Challenge: Using one codebase on mobile and web. Solution: Expo and React Native app with a published web version.
  • Challenge: Keeping secrets out of the code. Solution: Asaas, JWT, Resend and MongoDB credentials are read only from environment variables.

Security and privacy

  • No secret is versioned.
  • The API does not expose business data without authentication.

Tests and evidence

  • Backend pytest suite with 18 test_*.py files: Pix payment against an Asaas mock, security, CORS, backup, delivery area, orders, menu and dashboard. Existence confirmed from the repository file listing; the tests were not run in this audit.

Lessons learned

  • Dynamic Pix payment requires handling the order lifecycle, not just generating the code.
  • Product documentation (PRD and packages) helped keep the app's scope.

Current status

Complementary project with private code: Expo and React Native app, FastAPI API and MongoDB. Business data is not disclosed.

Documented evidence

The README describes pytest tests and application/API integration. No real transaction was executed during this review.

Historical meal catalog screenshot, with prices at the time of capture.