Recently Updated Pages
Scheduled Tasks
The application runs several scheduled tasks defined in schedulers/scheduledTask.js: 1. Update In...
Features & Integrations
1. Three-Level Referral System Purpose: Incentivize user acquisition through multi-level referral...
Authentication & Authorization
JWT Authentication Login Flow User authenticates through external auth service Receives JWT to...
API Documentation
Interactive API Documentation When running in DEVELOPMENT mode, access interactive API documentat...
Core modules
1. Store Management Store registration and activation Store profile management Store schedule co...
Project structure
on-market-landing-api/ │ ├── config/ # Configuration files │ ├── api.js ...
Database Setup
PostgreSQL Setup Create Database CREATE DATABASE onmarket_db; CREATE USER onmarket_user WITH EN...
Environment Configuration
Required Environment Variables Create a .env file in the root directory with the following variab...
Getting started
Prerequisites Node.js: v14.x or higher (LTS recommended) npm: v6.x or higher (comes with Node....
Architecture
Application Architecture ┌─────────────────────────────────────────────────────────┐ │ ...
Project Overview
OnMarket Landing API is a comprehensive e-commerce backend framework built with Node.js and Expre...
Additional resources
Official Documentation Angular Documentation Angular Material RxJS TypeScript Key Depen...
Troubleshooting
Common Issues and Solutions 1. OpenSSL Error on npm start Error: Error: error:0308010C:digital en...
Code Style & Conventions
TypeScript Style Guide Follow Angular's TypeScript style guide: Use 2 spaces for indentation Use...
Testing
Unit Tests Run unit tests via Karma: npm test Tests are written using Jasmine and located alongs...
Build & Deployment
Development Build npm run build Production Build ng build --configuration production Build Conf...
Development Workflow
Starting Development Server # For Unix/Linux/Mac npm start # For Windows npm run startWindows T...
Custom Pipes
1. PhoneNumberPipe File: src/app/pipes/phone-number.pipe.ts Formats phone numbers according to In...
Key Components
1. Homepage Component Path: src/app/components/homepage/ Main landing page featuring: Banner sli...
Authentication & Security
JWT Authentication The application uses JWT (JSON Web Token) for authentication: Login Flow: //...