Backend service for integrated quickstarts.
- There are environment variables required for the application to start. It's
recommended you copy
.env.example
to.env
and set these appropriately for local development. - Migrate the database:
make migrate
. It will seed the BD with testing quickstart - Start the server:
go run main.go
- Query data:
curl --location --request GET 'http://localhost:8000/api/quickstarts/v1/quickstarts/'
curl --location --request GET 'http://localhost:8000/api/quickstarts/v1/quickstarts/?bundle[]=rhel&bundle[]=insights'
oc port-forward -n quickstarts svc/quickstarts-service 8000:8000
!
curl --location --request POST 'http://localhost:8000/api/quickstarts/v1/progress' --header 'Content-Type: application/json' --data-raw '{
"accountId": 123, "quickstartName": "some-name", "progress": {"Some": "Progress-updated"}
}'
curl --location --request DELETE 'http://localhost:8000/api/quickstarts/v1/progress/14'