Skip to content

Basic Hasura-based API as a service #4

@rufuspollock

Description

@rufuspollock

Epic here #1

When developing data-api I want to be able to create and run integration tests of the app so that I can check how it's working together with postgres and hasura.

Acceptance

  • There is a docker-compose environment with the necessary cervices
  • There is ci running tests and publishing to a Docker repository

Tasks

Local developer docker-compose

  • add services to docker-compose
    • postres (latest official postgres image)
    • hasura (custom image with adding sample data)
  • write a basic smoke test checking the system parts are working
    • Find the framework to use (Supertest remains the default for node http server tests ...)

CI

Inbox

  • Have Hasura based read API
  • Dockerize this service and auto publish on merge to master
    • Work out where we publish to (is it dockerhub or is it github packages? (Ask on tech help?)
    • Publish there with continuous deployment (on master)
  • Testing
    • Have basic test for this (using cypress (?))
    • CI setup and passing

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions