itemservicecentral

command module
v0.0.0-...-939a605 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 18 Imported by: 0

README

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

  1. Create a config file (or use the example docs/example-config.yaml).

  2. Validate the config:

go run . validate -config config.yaml
  1. 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
  1. 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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