Hasura batteries is a service that runs alongside Hasura GraphQL engine giving it superpowers like Authentication, Stripe integration and Storage.
docker-compose up -d
Should spin up 3 containers: Hasura, Postgres and hasura-batteries
Install https://github.com/cosmtrek/air
➜ git clone https://github.com/RocketsGraphQL/hasura-batteries
➜ cd hasura-batteries
➜ air
And you should be able to run the application
Tests for Authentication are in AuthService
folder. cd into that folder and:
➜ go test ./...
You should see an output like:
➜ AuthService git:(master) ✗ go test ./...
ok rocketsgraphql.app/mod/AuthService 2.763s
- Fork the repo on Github
- Clone this repo on your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit your pull request so that I can check your work and merge
This code is licensed under MIT.