cd backend
yarn install
add .env file : PORT:4000
docker-compose up --build
cd backend
yarn dev
Builds and starts the containers for the Postgres database and Hasura Console alongside each other. It can take a few seconds after the containers have started until the Database is fully initialized and seeded.
- Open http://localhost:8080 for the Hasura Console
After starting project will be run on port 4000 with below endpoints:
- GET http://localhost:4000 : for get all steps
- POST http://localhost:4000 : for updating a task staus.You need to pass a taskId as JSON on the body of request. Sample JSON
{
"taskId":1
}
Hasura GraphQL Engine is a blazing-fast GraphQL server that gives you instant, realtime GraphQL APIs over Postgres, with webhook triggers on database events, and remote schemas for business logic.
Hasura helps you build GraphQL apps backed by Postgres or incrementally move to GraphQL for existing applications using Postgres.
Read more at hasura.io and the docs.
๐ค Amin Azimi
Give a โญ๏ธ if this project helped you!
This README was generated with โค๏ธ by readme-md-generator