Interactive API documentation for OrderMate, built with React + TypeScript and Python FastAPI.
docs-site/
├── frontend/ # React + TypeScript + Tailwind
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Page components
│ │ ├── data/ # API endpoint definitions
│ │ └── types/ # TypeScript types
│ └── ...
│
├── backend/ # Python FastAPI
│ └── app/
│ ├── routes/ # API routes (proxy, mock)
│ └── services/ # Business logic
│
└── README.md
| Stripe-style 3-panel layout: Navigation | Documentation | Interactive Sandbox |
cd frontend
npm install
npm run dev
Open http://localhost:12001
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
API docs at http://localhost:8000/docs
| Route | Description |
|---|---|
/ |
Home - Documentation landing page |
/getting-started |
Installation and setup guide |
/features/* |
Feature documentation |
/api |
API Reference overview |
/api/orders |
Orders API with sandbox |
/api/customers |
Customers API |
/api/payments |
Payments API |
/api/webhooks |
Webhooks API |
The sandbox supports two modes:
frontend/src/data/endpoints.tsfrontend/src/pages/Api/frontend/src/App.tsxbackend/app/routes/mock.py (optional)frontend/tailwind.config.jsfrontend/src/index.csscd frontend
npm run build
# Deploy dist/ to GitHub Pages
Use Docker Compose or deploy frontend and backend separately.
Copyright © 2026 11th and Orange. All rights reserved.