Go, PostreSQL
Goose
goose -dir database/migrations postgres "postgres://postgres:postgres@db:5432/catalogue_service?sslmode=disable" up
^ this a connection string and need to be updated according to configuration of postgres connection.
go build -o service-catalogue main.go
./service-catalogue
- Check DB Health
- Add a new 'service' card
- Add a new 'version'
- Search for a service based on input text with pagination.
- Retrieve all services with pagination.
- Retrieve a particular service.