Skip to content

About

Platform control plane (Next.js): tenants, provisioning, plans, billing and the ecom portal.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Jeffi ERP

controller-service

Platform control plane (Next.js): tenants, provisioning, plans, billing and the ecom portal.

Part of Jeffi ERP, where the Jeffi Stores commerce platform is developed in the open. In the workspace this repo is controller-service/. It builds and tests inside the assembled workspace, not on its own.

Set up

git clone https://github.com/Jeffi-ERP/workspace.git jeffi-erp
cd jeffi-erp
node oss/assemble.mjs                  # clones every Jeffi ERP repo into its folder
ONNXRUNTIME_NODE_INSTALL=skip npm ci

Then follow Set up the workspace for the database, .env.local and a local admin. You never need Jeffi Stores' own keys. To change this repo, fork it and add your fork as a remote inside controller-service/.

How a change gets in

  1. Open a pull request against main. Nothing runs yet.
  2. A maintainer reads it and adds the ok-to-test label. That runs PR checks and Guard. A new push removes the label until a maintainer looks again.
  3. When both pass, a maintainer squash-merges it. The merge runs pre-build and build, then waits for a maintainer to approve the promotion.
  4. After approval the change is opened as a pull request on AloysJehwin/Jeffi_Stores and ships with a later release. The export from that release brings it back here.

.github/ and LICENSE (and oss/ in workspace) come from AloysJehwin/Jeffi_Stores, and Guard rejects pull requests that change them. Open an issue for those instead.

Checks

Stage Check Command (from the workspace root)
PR checks (after ok-to-test) Lint npx next lint controller-service --dir src
PR checks (after ok-to-test) Type check npx tsc --noEmit -p controller-service/tsconfig.typecheck.json
PR checks (after ok-to-test) Unit tests npx vitest run --project controller --passWithNoTests
Pre-build (after merge) Lint npx next lint controller-service --dir src
Pre-build (after merge) Type check npx tsc --noEmit -p controller-service/tsconfig.typecheck.json
Build (after merge) Unit tests npx vitest run --project controller --passWithNoTests
Build (after merge) Build npm run build:controller

Run a stage locally from the workspace root: node oss/checks.mjs controller-service pr.

Licence

GNU Affero General Public License v3.0 (AGPL-3.0-only). You may use, modify and redistribute this code, including in production. If you distribute a modified version, or run one as a service that people use over a network, you must make its source available to those users under the same licence. Jeffi Stores also offers a commercial licence for use without those conditions. Contributions are accepted on the terms in CONTRIBUTING.

About

Platform control plane (Next.js): tenants, provisioning, plans, billing and the ecom portal.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages