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
This is a proof-of-concept version using Spring Boot, Spring JPA, Spring Security.
Functional service
Because this is a prototype version, GPS Track focus on only 1 WS API: GPS API.
GPS Service
Allow users to upload "gpx" file and store mandatory information such as "metadata, waypoint, track",view a list of "Latest track" from our usersand allow users to view details of their gpx file.
Method
Path
Description
User authenticated
POST
/gpx/uploadFile
Upload "gpx" file
×
GET
/gpx/{gpxId}
Get gpx file for view details
GET
/gpx/latest?pageSize={pageSize}&offset={offset}
View a list of latest tracks
Notes
In this project, I use H2 as a primary database for gps service. It is very easy switching to another database by change configuration.
System diagram
Authentication
In this project, for simplicity, I use basic authentication for API endpoint /gpx/uploadFile.Only logged in users can upload the gpx file. I create a demo account with the credential: