Skip to content

hoangnam2261/trackGPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPS Track

A simple way to store and share GPS track online

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.

Service

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 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

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

System

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:

User: hoangnam2261

Password: 123456

Upload file flow

Upload file flow

Get latest tracks

Get latest tracks

View the details of track file

Details of track

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages