https://github.com/juelvaldivia/tracking
API para un sistema de localización en tiempo real
https://github.com/juelvaldivia/tracking
golang gps gps-location gps-tracking real-time realtime tracking
Last synced: 8 months ago
JSON representation
API para un sistema de localización en tiempo real
- Host: GitHub
- URL: https://github.com/juelvaldivia/tracking
- Owner: juelvaldivia
- License: mit
- Created: 2023-11-24T00:07:02.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-03T20:35:43.000Z (over 1 year ago)
- Last Synced: 2025-01-05T09:43:49.096Z (9 months ago)
- Topics: golang, gps, gps-location, gps-tracking, real-time, realtime, tracking
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/juelvaldivia/tracking/actions/workflows/ci.yml)
# GPS Tracking in Go
Welcome to the GPS Tracking project in Go! This project aims to provide a robust and efficient solution for GPS device tracking.Whether you're building a vehicle tracking system, a fitness application, or any app requiring real-time tracking, this Go project has got you covered.
## Installation
1. Clone the repository to your local machine:
```shell
git clone git@github.com:juelvaldivia/tracking.git
```2. Navigate to the application directory::
```shell
cd tracking
```# Configuration
The behavior of the application is determined by the `config.yml` file, where you can configure the following settings:
- Create the `config.yml` file you can base it on `config-example.yml` you can copy it like this:
```shell
cp config-example.yml config.yml
```- Api Configuration:
```yml
api_port = 5678
```- Database Configuration:
```yml
database_driver = memory|sql
```if you choose a sql database, configure your environment accordingly
```yml
sql_database:
host: localhost
port: 5432
username: your_username
password: your_password
database: your_database
```# Usage
- Run the application:
```bash
go run main.go
```- To stop the application, press `Ctrl+C` in the terminal.
# Development Usage
## Lint Usage
- Install [golangci-lint](https://golangci-lint.run/usage/install/) to use
```bash
golangci-lint run
```## Tests
- Run test
```bash
go test -v ./tests/...
```# Acknowledgments
This application was developed by Luis Velazco, Eduardo Valdivia and Joel Valdivia.