2026-07-05 00:51:29 +04:00
# Marketplace Frontend
2026-01-18 18:57:06 +04:00
2026-07-05 00:51:29 +04:00
Angular marketplace frontend for the client demonstration. The app uses standalone components, signals, runtime branding/configuration, and a production build optimized for the current marketplace experience.
2026-01-18 18:57:06 +04:00
## Features
2026-07-05 00:51:29 +04:00
- Responsive marketplace storefront
- Category browsing and product detail pages
- Search and shopping cart flows
- Telegram login integration
- Payment handoff through the existing backend contract
- Runtime branding and configuration loading
- PWA manifest and service worker configuration
2026-01-18 18:57:06 +04:00
2026-07-05 00:51:29 +04:00
## Development
2026-01-18 18:57:06 +04:00
2026-07-05 00:51:29 +04:00
Install dependencies:
2026-01-18 18:57:06 +04:00
```bash
2026-07-05 00:51:29 +04:00
npm install
2026-01-18 18:57:06 +04:00
```
2026-07-05 00:51:29 +04:00
Start the local development server:
2026-01-18 18:57:06 +04:00
```bash
2026-07-05 00:51:29 +04:00
npm start
2026-01-18 18:57:06 +04:00
```
2026-07-05 00:51:29 +04:00
Build for production:
2026-01-18 18:57:06 +04:00
```bash
2026-07-05 00:51:29 +04:00
npm run build
2026-01-18 18:57:06 +04:00
```
2026-07-05 00:51:29 +04:00
The production build is written to `dist/dexarmarket/` .
2026-01-18 18:57:06 +04:00
2026-07-05 00:51:29 +04:00
## Project Structure
2026-01-18 18:57:06 +04:00
2026-07-05 00:51:29 +04:00
```text
2026-01-18 18:57:06 +04:00
src/
├── app/
2026-07-05 00:51:29 +04:00
│ ├── components/ # Shared storefront components
│ ├── core/ # Runtime, config, guards, providers, interceptors
│ ├── dynamic-renderer/ # Page, section, and widget rendering pipeline
│ ├── facades/ # Runtime, website, builder, and backoffice facades
│ ├── pages/ # Storefront, info, legal, cart, search, and item pages
│ ├── services/ # API, cart, auth, SEO, Telegram, and language services
│ └── widgets/ # Dynamic renderer widgets
├── assets/mock/ # Local mock configuration and catalog data
├── environments/ # Development and production environment settings
└── styles/ # Shared global styles and themes
2026-01-18 18:57:06 +04:00
```
2026-07-05 00:51:29 +04:00
## Useful Checks
2026-01-18 18:57:06 +04:00
```bash
2026-07-05 00:51:29 +04:00
npm run build
npm run arch:check
2026-01-18 18:57:06 +04:00
```
2026-07-05 00:51:29 +04:00
## Notes
2026-01-18 18:57:06 +04:00
2026-07-05 00:51:29 +04:00
- Authentication and payment integrations are intentionally left on their existing contracts.
- Renderer and runtime architecture should remain stable during demo preparation.
- Client-facing content should avoid placeholder names, mock labels, and temporary routes.