# Starting the project

### Prerequisites
- Node.js (v14+ recommended)
- npm (v6+ recommended)
- Angular CLI (`npm install -g @angular/cli`)

### Installation

1. **Clone the repository**
```bash
git clone <repository-url>
cd ondelivery-dash
```

2. **Install dependencies**
```bash
npm install
```

3. **Configure API endpoints**
Edit `src/app/addrezz.ts` to set the appropriate API endpoints:
```typescript
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**
```bash
npm start
# or
ng serve
```
Navigate to `http://localhost:4200/`. The app will automatically reload on file changes.

**Production Build**
```bash
npm run build
```
Build artifacts are stored in the `dist/` directory with output hashing for cache busting.

**Development Build**
```bash
npm run build-dev
```
Builds without production optimizations.

**Run Tests**
```bash
npm test
```

**Run Linter**
```bash
npm run lint
```