Skip to content

kimmvb/fleet-management-api

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Fleet Management API πŸš–

Rest API for a taxi fleet management system in Beijing, China πŸ‡¨πŸ‡³. Query the locations of nearly 2 thousand taxis in real-time and ensure an optimal user experience.

> This project was developed with Java and Spring Boot 🍡

API Reference ⛓️

Taxis πŸš–

Get all taxis πŸš•

  GET /api/v1/taxi
Parameter Type Description Example
pageNumber string Required. Page Number 0
pageSize string Required. Page Size 10

Trajectories πŸ—ΊοΈ

Get all trajectories from a taxi πŸš–πŸ—ΊοΈ

  GET /api/v1/trajectory/${taxi_id}
Parameter Type Description Example
taxi_id string Required. Taxi's id 6418
pageNumber string Required. Page Number 0
pageSize string Required. Page Size 10

Get all trajectories from a taxi on a specific date πŸš–πŸ—ΊοΈπŸ“…

  GET /api/v1/trajectory/${taxi_id}/${date}
Parameter Type Description Example
taxi_id string Required. Taxi's id 6418
date string Required. Specific date to fetch 02-02-2008
pageNumber string Required. Page Number 0
pageSize string Required. Page Size 10

Get all last trajectories from all taxis πŸš–πŸš–πŸš–πŸ—ΊοΈπŸ“Œ

  GET /api/v1/trajectory/last_locations
Parameter Type Description Example
pageNumber string Required. Page Number 0
pageSize string Required. Page Size 10

Tests πŸ› οΈ

To ensure our project functionalities were working properly, they were conducted using JUnit and Mockito.

tests-fleet-management.mp4
> There were e2e tests and unit tests. 

About

Rest API for a taxi fleet management system in Beijing, China πŸ‡¨πŸ‡³.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%