moonlags / gpsitty

Home Page:https://gpsitty.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://gpsitty.vercel.app


Languages

Language:TypeScript 57.7%Language:Go 30.7%Language:JavaScript 6.2%Language:CSS 4.4%Language:HTML 0.8%Language:Makefile 0.2%