1
Create the schema
internal/storage/postgres/migrations and are embedded into the binary, so
migrate needs only POSTGRES_DSN: no source tree and no separate migration
tool on the target machine.2
Seed the catalogue
3
Start the API server
PORT. Confirm it’s up by hitting the catalogue:Building binaries
Repository layout
Chain, Token, Dex, Pool, Quote) live in the root uatu
package.
The API spec
Swagger UI is served at/swagger/ and the raw spec at /swagger/doc.json.
Regenerate the spec after changing any handler annotation:
The spec in
swagger/ is generated and committed, so don’t hand-edit it. The
API reference on this site is built from that same spec.