Starter repo for my talk: Agile Backend for DevConPH 2021 (December).
-
Node / NPM or Yarn
Hasura has enables you to do the following:
- Focus on your business logic
- Avoid building CRUD
- Get authn, authz out of the box
- Be ready for microservice architecture, CQRS, eventing
-
Run this locally with
docker-compose up -d
. Accesshttp://localhost:1104
to view the Hasura web console. -
Destroy your local containers (including volumes) by running
docker-compose down -v
.
Some things that will make it easy to replicate the presentation.
codes
id: number
code: string
is_valid: boolean
You can manually copy this to the hasura web console, or you can do hasura metadata apply
using the Hasura CLI.
type Mutation {
service_check_qr(
code: String!
): SampleOutput
}
Type definition
type SampleOutput {
is_valid: Boolean!
message: String
}
Handler URL
http://rapidpass-handler:8080/api/v1/check-qr