goapi-stac

command module
v0.0.0-...-6247311 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 14 Imported by: 0

README

goapi-stac

a STAC api written in go with fiber, gorm, elasticsearch and postgres
https://documenter.getpostman.com/view/12888943/VVBXwQnu

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
es-api module
pg-api module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL