You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 π¨π³.