GraphQL Engine for PowerStack projects.
⚡️ PowerStack: a powerful fullstack development framework.
Disclaimer: This is a work in progress. Will be finalized soon.
Hasura service is responsible for
- Database migrations.
- GraphQL API Gateway.
- Access control.
- Docker docker.com
- Docker Compose docs.docker.com/compose
- Task taskfile.dev
- How Hasura GraphQL engine works -Filter query results / search queries
- Postgres JSON and JSONB type support on GraphQL
- Authentication with JWT
- Access Control
git clone [email protected]:blockmatic/powerstack-hasura.git
cd powerstack-hasura
cp .env-sample .env # and edit the environment variables
task build
task run
Ref Hasura Environment Variables
.
├── metadata/ ........................................... hasura metadata
├── migrations/ ......................................... hasura migrations
├── config.yaml.......................................... hasura config
├── taskfile.yaml........................................ dev tasks config
└── .env ................................................ environment variables ([ hasura variables] )
# Build the image
docker build -t powerstack-hasura:local .
# Start a container
docker run --name powerstack-hasura --env-file .env -p 3300:3300 -d powerstack-hasura:local
# Get container ID
docker ps -aqf "name=^powerstack-hasura$"
# Print app output
docker logs -f powerstack-hasura
# Stop, start, restart, kill
docker stop powerstack-hasura
docker start powerstack-hasura
docker restart powerstack-hasura
docker kill powerstack-hasura
Hasura Database Migrations enable a rock-solid deployment.
...
We use a Discussions Board to gather thoughts, bug reports and feature requests from the community.
Follow the standard Github Flow for PRs. Contributing Guidelines.
Blockmatic is building a robust ecosystem of people and tools for the development of blockchain applications.