A simple way to store and share GPS track online
This is a proof-of-concept version using Spring Boot, Spring JPA, Spring Security.
Because this is a prototype version, GPS Track focus on only 1 WS API: GPS API.
Allow users to upload "gpx" file and store mandatory information such as "metadata, waypoint, track", view a list of "Latest track" from our users and 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 |
- In this project, I use H2 as a primary database for gps service. It is very easy switching to another database by change configuration.
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:
User: hoangnam2261
Password: 123456