| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A responsive Angular e-commerce frontend built for Idempiere ERP. Uses an OpenAPI-first approach, so any compatible REST backend can be plugged in by regenerating the API client from openapi.yaml.
Live demo: https://webstore.icreated.co
| Layer | Technology |
|---|---|
| Framework | Angular 21 (standalone components, zoneless) |
| UI | Bootstrap 5 + ngx-bootstrap |
| State | Angular signals |
| Auth | JWT via @auth0/angular-jwt |
| API client | Auto-generated from openapi.yaml via ng-openapi-gen |
npm installOption A — Idempiere (primary backend)
Full ERP backend via the webstore-api REST plugin. Requires PostgreSQL + Idempiere + the plugin installed and configured. Runs on http://localhost:8080.
Option B — JSON mock server (for demo / development without Idempiere)
# clone and start https://github.com/icreated/webstore-json-server
# runs on http://localhost:3000Edit src/environments/environment.ts:
api: {
// baseUrl: 'http://localhost:8080/services/api' // Idempiere (primary)
baseUrl: 'http://localhost:3000' // JSON mock server
}npm start # dev server at http://localhost:4200| Command | Description |
|---|---|
| npm start | Dev server with live reload |
| npm run build | Production build |
| npm test | Unit tests (Karma / Jasmine) |
| npm run lint | ESLint |
| npm run ng-openapi-gen | Regenerate API client from openapi.yaml |
src/app/ ├── api/ # Auto-generated — do not edit manually ├── core/ # Auth, interceptors, guards, cart, checkout, alert services ├── modules/ # Lazy-loaded pages (home, catalog, cart, checkout, account, signup) └── shared/ # Reusable components, pipes, validators
Path aliases: @core/*, @shared/*, @api/*, @env/*
After modifying openapi.yaml:
npm run ng-openapi-genAll files under src/app/api/ are regenerated — never edit them directly.
| Home | Cart | Checkout | Order |
|---|---|---|---|
Fork the repo and open a pull request from a feature branch.
| Back | FazBrowse Home | New Git URL |