Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/lucavallini/aibar-frontend/llms.txt

Use this file to discover all available pages before exploring further.

Aibar SRL App is the operational backbone for Aibar SRL’s transport fleet. Built with Angular 22 and a FastAPI backend, it gives employees and administrators a single interface to track every trip, manage drivers and trucks, log fuel loads, register fines, and maintain a full audit trail of all system activity.

Introduction

Learn what Aibar SRL App does, who it’s for, and how its modules fit together.

Quickstart

Clone the repo, configure your environment, and run the app locally in minutes.

Architecture

Explore the Angular module structure, service layer, routing, and backend API.

Authentication

Understand JWT-based login, session storage, and the HTTP interceptor.

Core Features

Trips

Create, start, finalize, and cancel trips with full driver and truck assignment.

Drivers

Track driver availability, contact details, and trip history.

Trucks

Manage your fleet’s vehicle registry, including plate, brand, model, and year.

Fuel

Log fuel loads per truck, track litres, cost, and 30-day spending summaries.

Fines

Register traffic fines with retroactive dates linked to drivers and trucks.

Audit Log

Full history of every create, edit, cancel, and delete action across the system.

Get Up and Running

1

Clone the repository

git clone https://github.com/lucavallini/aibar-frontend.git
cd aibar-frontend
2

Install dependencies

npm install
3

Configure the backend URL

Open src/environments/environment.ts and confirm apiUrl points to your running backend instance (default: http://127.0.0.1:8000).
4

Start the development server

ng serve
Navigate to http://localhost:4200 and log in with your credentials.
The frontend requires a running instance of the Aibar backend API. See the local development guide for full setup instructions including the backend.

Build docs developers (and LLMs) love