Meow is a Bun-first demo marketplace for AI content tasks.
apps/www: landing pageapps/square: creator appapps/buyer: merchant appapps/admin: operator appapps/api: Bun HTTP API + SQLiteapps/entry: single Bun gateway for static apps and/api
| Layer | Stack |
|---|---|
| Runtime | Bun |
| Database | bun:sqlite |
| UI | daisyUI + jQuery |
| Gateway | Bun HTTP |
| Deployment | PM2 |
| Service | Env | Default |
|---|---|---|
| Entry | ENTRY_PORT |
26401 |
| API | API_PORT |
26411 |
| Web | WEB_PORT |
26412 |
| Admin | ADMIN_PORT |
26413 |
Install dependencies with Bun if needed:
bun installRun the API in one terminal:
cd apps/api
bun run server.jsRun the gateway in a second terminal:
cd apps/entry
API_PORT=26411 ENTRY_PORT=26401 bun run server.jsThe gateway serves:
/->apps/www/square/->apps/square/buyer/->apps/buyer/admin/->apps/admin/api/*->apps/api
Run the verified test suites:
bun test apps/api/server.test.js
bun test apps/entry/server.test.jsManual smoke checks:
curl http://127.0.0.1:26401/api/health
curl http://127.0.0.1:26401/
curl http://127.0.0.1:26401/square/
curl http://127.0.0.1:26401/admin/
curl http://127.0.0.1:26401/buyer/Demo credentials:
- Merchant:
merchant@example.com/demo-pass - Creator:
creator@example.com/demo-pass - Operator:
operator@example.com/demo-pass
deploy-meow.sh now deploys the Bun stack directly:
- Runs local Bun tests.
- Uploads
apps/andpackages/to the server. - Starts
meow-apiandmeow-entrywith PM2. - Verifies
/api/healthand each SPA route on the remote host.
Common commands:
./deploy-meow.sh all
./deploy-meow.sh deploy
./deploy-meow.sh verifybrowser
-> entry :26401
-> static apps (www / square / buyer / admin)
-> /api/* proxy
-> api :26411
-> bun:sqlite