Starting the project

Prerequisites

Installation

  1. Clone the repository
git clone <repository-url>
cd ondelivery-dash
  1. Install dependencies
npm install
  1. Configure API endpoints Edit src/app/addrezz.ts to set the appropriate API endpoints:
export const OSAS_API = "https://testapi.ondelivery.id";
export const BOOKING_API = "https://demoapisat.ondelivery.id";
export const USAPI_API = "http://localhost:3621";

Running the Application

Development Server

npm start
# or
ng serve

Navigate to http://localhost:4200/. The app will automatically reload on file changes.

Production Build

npm run build

Build artifacts are stored in the dist/ directory with output hashing for cache busting.

Development Build

npm run build-dev

Builds without production optimizations.

Run Tests

npm test

Run Linter

npm run lint

Revision #1
Created 24 February 2026 07:09:24 by ondeliveloper
Updated 24 February 2026 07:09:50 by ondeliveloper