Developer Reference · v1.0.0

Nexora ERP Setup & Customization

View Page Showcase

1. Quick Start & Build

The pre-built static HTML pages are available in the html/ folder for immediate hosting on any HTTP server. To customize styles or templates using Vite 6 and Tailwind CSS v4 (@tailwindcss/vite), use the source folder with Node.js 18+:

npm install
npm run dev        # Start local Vite dev server (http://localhost:5173)
npm run build      # Build production HTML, CSS & JS bundles into dist/
npm run preview    # Preview the compiled production build

2. Folder Structure

Shared layout fragments live in src/partials/ and are resolved at build time into clean static HTML pages inside dist/.

src-vite/
├── index.html & dashboard-*.html   # 6 Department Dashboards
├── invoices.html / create / detail # Invoicing workflow & printable tax sheet
├── customers / suppliers / products / inventory / sales-orders / purchase-orders
├── employees / attendance / payroll / expenses / projects / tasks / reports
├── users / roles / settings / auth-login / auth-register / 404
└── src/
    ├── partials/                   # Sidebar, topbar, horizontal nav, footer & modals
    ├── styles/                     # tokens.css, themes.css, layouts.css, components.css
    └── js/ (data/ · core/ · components/ · pages/)

3. Theme Tokens, Dark Mode & RTL

Colors, surface elevations, borders, and typographic scales are managed with CSS custom properties (--nx-*) inside src/styles/tokens.css and src/styles/themes.css. Layout spacing and direction rely on logical CSS properties (ps-*, pe-*, inset-inline-start) so toggling dir="rtl" mirrors navigation, tables, drawers, and chart axes cleanly.

You can change the default theme, layout mode (vertical, compact, horizontal), or brand accent (indigo, cobalt, emerald, teal, amber, graphite) directly in src/js/core/store.js or via URL parameters.

4. JavaScript Components

Interactive modules are written in modular ES6+ under src/js/components/:

  • NexoraDataTable — Client-side sorting, live filtering, column visibility toggles, bulk selection checkboxes, and pagination.
  • NexoraSelect — Keyboard-accessible searchable select control with secondary metadata labels.
  • NexoraDatePicker — Calendar popover supporting month navigation and single-date selection.
  • NexoraFileUpload — File dropzone with size limit checks and attachment preview cards.
  • mountChart() — ApexCharts helper that automatically refreshes chart themes when switching between Light, Dark, Accent, or RTL.

5. Connecting a Backend API

Sample records and interactive state changes (creating invoices, logging payments, updating tasks, and role permissions) persist locally in localStorage (nexora_erp_session) so every workflow works out of the box.

When integrating with Laravel, Node.js, Django, Go, or .NET, replace the collection getters and mutators in src/js/core/store.js with your REST or GraphQL API calls.

6. Browser Compatibility & Dependencies

Supports modern browsers with CSS logical properties and ES2022 module support: Chrome 111+, Edge 111+, Firefox 115+, and Safari 16.4+.

Built with open-source packages under MIT / ISC / SIL OFL 1.1 licenses: Tailwind CSS v4, Vite, ApexCharts, Lucide Icons, and Google Fonts (Plus Jakarta Sans, IBM Plex Sans Arabic, JetBrains Mono). Details are listed in LICENSES.md.

For updates, support and licensing, visit the official product page on Codester: Nexora ERP on Codester.