Skip to main content

Tech Stack Overview

Asset Information Centre is a modern React SPA with a Firebase BaaS backend.

Architecture pattern

LayerTechnologyRole
PresentationReact 18 + TypeScriptUI components & routing
UI frameworkMaterial UI 5Design system, Data Grid, icons
Build toolVite 5Dev server, HMR, production bundling
BackendFirebase 10Auth, Firestore, optional Hosting
StateReact ContextAuth, notifications, mail, settings

Runtime

ComponentVersion
Node.js18.x – 20.x LTS
npm9.x – 10.x
TypeScript5.3.x
ES targetES2020

Browser support

Production builds target browsers with >0.2% market share (see browserslist in package.json).

Data flow

User action → React component → Service layer → Firestore SDK → Cloud Firestore

AuthContext (role + permissions)

RBAC check (hasPermission)

Security stack

FeatureLibrary / Service
AuthenticationFirebase Auth
SSOFirebase OAuth providers
MFAotplib (TOTP)
Passkeys@passwordless-id/webauthn
AuthorizationCustom RBAC + Firestore rules

Export & documents

FeatureLibrary
Excel exportxlsx
PDF exportjspdf, pdf-lib
Chartsrecharts
QR codesqrcode.react
E-signaturesreact-signature-canvas

Documentation site

ToolVersion
Docusaurus3.7.x
MDX3.x

Located in /documentation folder.

Dependencies reference