Project gpsitty

My own server implementation for gps trackers found on aliexpress

The original program is named "365GPS"

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

You need to have

  1. Go >= 1.21 installed
  2. Nodejs installed
  3. Postgresql database running
  4. goose installed

run migrations

cd internal/database/migrations
goose "user=some dbname=some sslmode=disabled" up

build the application

go build cmd/api/main.go

run the application

go run cmd/api/main.go > logs.log &
cd client
npm run dev

run the test suite

go test ./... -v

test coverage badge