Skip to content

UnitVectorY-Labs/itemservicecentral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages