Skip to content

PlaceOS/backoffice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,960 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlaceOS Backoffice

Build Test

The PlaceOS administration interface for managing systems, modules, drivers, zones, users, domains, repositories, triggers, and cluster settings.

Backoffice is built with Angular 22, standalone components, signals, zoneless change detection, and the PlaceOS TypeScript client.

Requirements

  • Bun 1.3.11
  • A PlaceOS backend (the development proxy uses placeos-dev.aca.im by default)

Getting started

bun install
bun run start

Open http://localhost:4200. bun install also generates the local version metadata used by the application.

To use another PlaceOS backend, update domain, secure, and valid_ssl in config/proxy.conf.js, then restart the development server.

Commands

bun run start      # Start the development server on port 4200
bun run build      # Create a production build
bun run lint       # Run ESLint
bun run test       # Run the Vitest unit tests
bun run test:ci    # Run the unit-test command used in CI

Production builds are written to dist/backoffice/browser.

Install the Playwright browsers once before running the end-to-end tests:

bunx playwright install --with-deps
bun run e2e

See e2e/README.md for browser selection, live-environment configuration, and focused test commands.

Project layout

src/app/
├── common/       Shared services, API setup, signals, and utilities
├── ui/           Reusable components, form controls, pipes, and guards
├── overlays/     Shared dialogs and overlays
├── admin/        Cluster and platform administration
└── <feature>/    Feature routes, components, utilities, and state services

src/tests/        Vitest unit tests
e2e/             Playwright tests and page objects
user-stories/    Feature behaviour and acceptance criteria
config/          Development proxy and build metadata scripts

Most feature areas are lazy-loaded from src/app/app.routes.ts. The application uses hash-based routing and enables its service worker only in production.

Stack

  • Angular 22 and Angular Material
  • Nx 22 with the Angular application builder
  • Vitest and Playwright
  • Tailwind CSS 4
  • @placeos/ts-client for PlaceOS APIs
  • MQTT for real-time updates

License

MIT

About

PlaceOS control and management Interface.

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages