FloCafe
FloCafe is the free, local-first restaurant POS in the FloPOS ecosystem. Run orders, tables, kitchen display, and local data without a software subscription.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
Edgecoms - Built for the next generation of Shopify.
翻訳待ち
Loading the full README.
Read the full README ↗A full-stack TypeScript monorepo for Edgecoms — thoughtfully crafted Shopify apps and the marketing site that fronts them. Built with Next.js, tRPC, Drizzle, and a shared UI package, orchestrated by Turborepo and Bun workspaces.
packages/uiInstall dependencies (from the repo root):
bun install
Configure environment — copy apps/web/.env.example to apps/web/.env and fill in your database connection, auth secrets, and admin bootstrap credentials.
Start PostgreSQL — spin up the local database container (defined in packages/db/docker-compose.yml):
bun run db:start
Apply the schema to the database:
bun run db:push
Seed the app catalog and create an admin (idempotent):
bun run db:seed
bun run db:create-admin
Run the dev server:
bun run dev
Open http://localhost:3001 to view the app.
edgecoms/
├── apps/
│ ├── web/ # Next.js app (marketing + partner + admin portals)
│ └── worker/ # Railway cron entrypoint (billing-sync)
└── packages/
├── ui/ # Shared shadcn/ui components & design tokens
├── api/ # tRPC routers + the authorization layer
├── auth/ # Better Auth configuration
├── billing/ # Money math, Partner API adapter, reconcile & commissions
├── db/ # Drizzle schema, migrations & local DB compose
├── env/ # Shared, validated environment variables
└── config/ # Shared tooling config (TS, Ultracite, etc.)
Run all scripts from the repo root.
| Script | Description |
|---|---|
bun run dev | Start all apps in development mode |
bun run dev:web | Start only the web app |
bun run build | Build all apps |
bun run check-types | Type-check across the monorepo |
| Script | Description |
|---|---|
bun run db:start | Start local PostgreSQL (Docker, detached) |
bun run db:watch | Start local PostgreSQL in the foreground |
bun run db:stop | Stop the database container |
bun run db:down | Stop and remove the database container |
bun run db:push | Push schema changes to the database |
bun run db:generate | Generate migration files |
bun run db:migrate | Run pending migrations (local) |
bun run db:deploy | Apply migrations to a remote/production database |
bun run db:setup:deploy | First deploy: migrate + seed + create admin (idempotent) |
bun run db:seed | Seed the 7 Edge apps, local (idempotent) |
bun run db:create-admin | Create/promote the admin user (ADMIN_EMAIL / ADMIN_PASSWORD) |
bun run db:studio | Open Drizzle Studio |
| Script | Description |
|---|---|
bun run check | Lint & format check (Ultracite) |
bun run fix | Auto-fix lint & formatting issues |
The web app consumes shadcn/ui primitives through packages/ui:
packages/ui/src/styles/globals.csspackages/ui/src/components/*packages/ui/components.json and apps/web/components.jsonImport shared components like this:
import { Button } from "@edgecoms/ui/components/button";
Add more primitives to the shared package (run from the repo root):
bunx shadcn@latest add accordion dialog popover sheet table -c packages/ui
For app-specific blocks rather than shared primitives, run the shadcn CLI from apps/web instead.
This repo is the Edge Partner Platform — the business layer for Edge's Shopify apps. It has three experiences in one Next.js app plus a billing worker:
/, /products, /partners, /about, /contact) — public, on-brand./partner/*, role partner) — register merchants, track
commission, manage payout details./admin/*, role admin) — approve partners (set rate +
per-app overrides), approve merchants (capturing the grandfathered app set),
mark commissions paid, and group payouts.bigint) with a 3-char
currency — no floating-point math ever touches money.earning_events is an append-only mirror of the Shopify Partner API
transactions stream, idempotent on the Shopify transaction id.The full invariant set lives in CLAUDE.md. The money paths and
authorization boundaries are unit/integration tested (bun run test) against an
in-process Postgres (PGlite) — no Docker required for tests.
This is the beginning of the README. Read the rest at the original. Read the full README ↗