Skip to content

a STAC api written in go with fiber, gorm, elasticsearch and postgis

License

Notifications You must be signed in to change notification settings

Healy-Hyperspatial/gostac-api

 
 

Repository files navigation

goapi-stac

a STAC api written in go with fiber, gorm, elasticsearch and postgres


RUN LOCALLY (localhost:6002):

$ make database
$ go build
$ go run app.go

TEST LOCALLY:

$ make test

PSQL:

$ docker exec -it stac-db bash $ psql

RUN IN DOCKER (localhost:6002):

$ make database
$ make api


Developer notes:

Identify failing tests:

go test -v github.com/jonhealy1/goapi-stac/tests 2>&1 | grep "FAIL\|---"

Run specific test:

go test github.com/jonhealy1/goapi-stac/tests -run TestEsGetCollection

About

a STAC api written in go with fiber, gorm, elasticsearch and postgis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.1%
  • Other 0.9%