https://github.com/mendhak/gpslogger-customurl-receiver
Custom URL receiver which writes querystring values to a CSV file. Sample app for GPSLogger users.
https://github.com/mendhak/gpslogger-customurl-receiver
Last synced: over 1 year ago
JSON representation
Custom URL receiver which writes querystring values to a CSV file. Sample app for GPSLogger users.
- Host: GitHub
- URL: https://github.com/mendhak/gpslogger-customurl-receiver
- Owner: mendhak
- Created: 2018-01-24T21:37:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T22:27:50.000Z (over 8 years ago)
- Last Synced: 2025-02-12T06:38:45.570Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A sample receiver for GPSLogger's Custom URL feature. This application will receive the querystring parameters and write it to a local file.
### Run the app
To start, use
docker-compose up -d
Then hit the `/log` endpoint, for example
http://localhost:3000/log?lat=11&lon=22&spd=0&custom=hello
And then look at the `output.csv` file produced.
The header is only written once; if you ever change the querystring parameters on the GPSLogger side, the header will no longer match the contents - you should probably move the file at that point.
### Note
This should not be exposed directly on a production server. Ideally put a proper web server like Apache or Nginx in front of this. Further, consider using SSL certificates as well.