Skip to content
gibeongideonPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOVI

A metadata-driven React + TypeScript frontend and SaaS platform for an unmodified Odoo 20 backend.

Prerequisites

  • Node ≥ 20.11 (nvm use) and pnpm 9 (corepack enable pnpm)
  • Docker with Compose v2 (local Odoo 20)
  • The Odoo tarball odoo_20.0+e.*.tar.gz in the repo root (never committed)

Quick start

pnpm install
pnpm build && pnpm test          # all packages

pnpm odoo:build                  # build stock Odoo 20 image from the tarball (~10 min, once)
pnpm odoo:up                     # Postgres + Odoo + Mailpit
pnpm odoo:seed                   # create novi_demo with pilot apps, demo data and test users
pnpm test:contract               # API contract suite against local Odoo
pnpm scan                        # coverage report → docs/coverage/

pnpm dev                         # local server with live reload (see below)

pnpm dev starts local Odoo if needed, then serves with live reload:

URL What
http://localhost:5173 NOVI web app (Vite hot reload; Odoo proxied on the same origin, like production same-domain mode)
http://localhost:4321 Progress dashboard, rebuilt whenever TASKS.md / ROADMAP.md / CHANGELOG.md change
http://localhost:18069 Odoo 20 directly (admin / admin)

Stop with Ctrl+C. Odoo keeps running in Docker (pnpm odoo:down to stop it).

Multi-tenant (production-like) run: create customers with TENANT_ADMIN_PASSWORD='Pass…' bash infra/provisioning/tenant.sh create acme "Acme Ltd" KE owner@acme.test (≈10 s each, registers itself with the gateway), then pnpm serve and open http://acme.localhost:8080. Each customer has its own Odoo, database and users. Self-service sign-up is at http://localhost:8080/signup (emails in Mailpit, http://localhost:8025). For HTTPS like production, also run pnpm edge and open https://acme.localhost:8443.

Local services: Odoo http://localhost:18069 (admin / admin) · Mailpit http://localhost:8025

pnpm odoo:seed writes the test users, the 2FA user's TOTP secret and an admin API key to .cache/dev-credentials.json (git-ignored). To create an API key by hand for JSON-2 testing: log in to Odoo → avatar → My Profile → Account Security → New API Key (scope: RPC). Then call POST /json/2/<model>/<method> with Authorization: bearer <key> and X-Odoo-Database: novi_demo.

Layout

Path What
packages/odoo-client Talking to Odoo: JSON-RPC (session) and JSON-2 (bearer) transports, typed errors
packages/odoo-expr · odoo-meta · engine Expression evaluator, arch → ViewSchema, headless runtime
packages/ui · fields · views · chatter · realtime · shell Design system and UI building blocks
packages/apps/* Bespoke screens per app (sales, crm, accounting, inventory, hr)
apps/web · apps/admin Customer SPA and platform admin console
services/gateway · services/provisioner BFF and tenant lifecycle worker
tools/* Contract tests, coverage scanner, progress dashboard, spikes
infra/ Odoo image, local compose, server setup

Rules

Odoo is never modified and no Odoo add-on is installed (D-01). Work follows TASKS.md in order, and commits start with a task ID (P0.4.2: …). See CLAUDE.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages