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.
-
Clone the repository to your local machine:
git clone [email protected]:juelvaldivia/tracking.git
-
Navigate to the application directory::
cd tracking
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 onconfig-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
-
Run the application:
go run main.go
-
To stop the application, press
Ctrl+C
in the terminal.
- Install golangci-lint to use
golangci-lint run
- Run test
go test -v ./tests/...
This application was developed by Luis Velazco, Eduardo Valdivia and Joel Valdivia.