Restaurant Order Express
Full-stack restaurant ordering workspace.
frontend/- Vite + React + Tailwind + shadcn/uibackend/- Express API bridge.NET API- external production backend service
Local Development
From repository root:
npm install
npm run dev
Typical local URLs:
- Frontend:
http://127.0.0.1:8081 - Express backend health:
http://127.0.0.1:8787/health
Build
cd frontend
npm run build
Environment
- Frontend env:
frontend/.env.local - Backend env:
backend/.env.local - Required backend bridge value:
DOTNET_API_BASE - Optional backend auth value:
DOTNET_API_KEY
Do not commit production secrets.
Docker
Recommended services:
- frontend SPA
- Express bridge
- ASP.NET Core backend API
Build each service with its own Dockerfile. Use Docker Compose or the deployment platform network to connect the services.
Container environment checklist:
- Set
DOTNET_API_BASEin the Express container. - Set frontend API base URL only when the API is not served from the same origin.
- Set CORS origins for the frontend URL.
- Keep database, Square, and service keys in backend containers only.
Docker Deployment Order
- Build and run the .NET API container first.
- Build and run the Express bridge with
DOTNET_API_BASEpointing to the .NET API. - Build and run the frontend.
- Verify health checks and browser access.
Licence
Proprietary & Confidential — This software is the property of The Healthy Dev. All rights reserved.

