Skip to content

API para un sistema de localización en tiempo real

License

Notifications You must be signed in to change notification settings

juelvaldivia/tracking

Repository files navigation

Deploy

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:

    git clone [email protected]:juelvaldivia/tracking.git
  2. Navigate to the application directory::

    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:

    cp config-example.yml config.yml
  • Api Configuration:

    api_port = 5678
  • Database Configuration:

    database_driver = memory|sql

    if you choose a sql database, configure your environment accordingly

    sql_database:
      host: localhost
      port: 5432
      username: your_username
      password: your_password
      database: your_database

Usage

  • Run the application:

    go run main.go
  • To stop the application, press Ctrl+C in the terminal.

Development Usage

Lint Usage

golangci-lint run

Tests

  • Run test
 go test -v ./tests/...

Acknowledgments

This application was developed by Luis Velazco, Eduardo Valdivia and Joel Valdivia.

Releases

No releases published

Packages

No packages published