Project Layout
Repository root
| Path | Purpose |
|---|---|
|
Application source. See below. |
|
Node script that renders |
|
Checked-in dev-server proxy configs for named backend environments. |
|
Generated proxy config (output of |
|
Cypress end-to-end specs and fixtures. |
|
Legacy Protractor scaffolding. |
|
Shared test helpers. |
|
This Antora documentation component. Consumed as a content source by the central Payability playbook; |
|
Angular CLI workspace: build targets, budgets, asset globs, style preprocessing. |
|
AWS CodeBuild pipeline definition. |
|
Ergonomic wrapper over the npm scripts, parameterized by |
|
Service worker caching strategy. |
|
Lint and format configuration. |
|
Pre-commit hooks (format staged, lint staged, tests on push). |
|
The adopted naming and structure conventions. |
src/
| Path | Purpose |
|---|---|
|
Bootstraps |
|
Zone.js and legacy browser polyfills. |
|
Global stylesheet entry point. |
|
Document shell, includes the splash screen markup. |
|
PWA manifest. |
|
Pre-bundled analytics helper loaded outside the Angular build. |
|
Unit test runner configuration and entry point. |
|
Every translated string in the application. |
|
Icons and images registered with |
|
|
|
The application itself. |
|
|
src/app/
src/app/
├── app.module.ts root NgModule
├── app.component.{ts,html,scss}
├── app-routing.module.ts root route table
├── translate-loader.ts local (non-HTTP) ngx-translate loader
│
├── core/ singletons — see Architecture Overview
│ ├── _base/ crud, layout, interfaces, tasks-flow
│ ├── _config/ menu, layout, page, ag-grid, URLS_ROUTER
│ ├── api-connectors/ amazon, shopify, abstract base
│ ├── auth/ the auth subsystem
│ ├── initializers/ APP_INITIALIZER providers
│ ├── marqeta/ Marqeta SDK wrapper
│ ├── material/ curated Angular Material surface
│ ├── pyb/ all business logic
│ ├── reducers/ root store config
│ └── reports/ report infrastructure
│
├── vendors/
│ ├── cloud-watch/ metric service + module + DI token
│ └── plaid/ Plaid Link module, tokens, constants
│
└── views/
├── consts/ view-layer constants
├── onboarding/ the onboarding flow (own shell + steps)
├── pages/ lazy feature pages
├── partials/ shared widgets, modals, components, content
├── templates/ reusable form templates (e.g. simple-address-form)
└── theme/ the authenticated shell — base, header, aside, footer, subheader
src/app/views/pages
Each folder is a lazy-loaded route target.
| Folder | Route | Documented in |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(child modules reused by |
src/app/views/partials
| Folder | Contents |
|---|---|
|
~25 UI primitives — buttons, banners, status badges/chips, image upload/preview, hint popovers, skeletons, card visuals, punch card, contact support. |
|
~18 dashboard and page widgets, each bound to a store slice. |
|
~35 dialogs — product flows, Seller Card operations, 2FA, cancellation survey, legal info, transfer funds. |
|
CTA strategy factory, export dialogs, TabaPay iframe, general content blocks. |
|
Splash screen, subheader, mobile report row. |
Full inventory: Shared Components.