itemservicecentral
A configuration driven service that exposes JSON Schema validated CRUD and index style query REST endpoints backed by PostgreSQL JSONB with JWT based access control.
Get Started
-
Create a config file (or use the example docs/example-config.yaml).
-
Validate the config:
go run . validate -config config.yaml
- Run database migrations (required for the API to start):
go run . migrate -config config.yaml -db-host localhost -db-port 5432 -db-name appdb -db-user postgres -db-password postgres
- Start the API:
go run . api -config config.yaml -db-host localhost -db-port 5432 -db-name appdb -db-user postgres -db-password postgres
api startup validates the minimal table-structure hash (tables, key fields, index key fields) stored in _meta.
Documentation