Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orbit

A small HTTP service that tracks satellites and the passes they make over ground stations. It is intentionally compact: one binary, an in-memory store seeded from JSON, and a handful of JSON endpoints.

Run

make run          # listens on :8080
curl localhost:8080/v1/satellites

Endpoints

Method Path Description
GET /v1/health Liveness probe.
GET /v1/satellites List satellites. Supports limit and offset.
GET /v1/satellites/{id} Read one satellite by NORAD id.
GET /v1/satellites/{id}/passes Upcoming passes over the configured station.

Layout

cmd/orbit         binary entry point
internal/api      HTTP router, handlers, middleware
internal/store    in-memory satellite store
testdata          seed catalog

Development

make test         # go test ./... -race
make lint         # go vet ./...
make build        # ./bin/orbit

License

MIT

About

Orbit — a small satellite catalog API used as the sample project in CompozyOS product demos.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages