This is a Next.js project bootstrapped with create-next-app
.
Disclaimer: Auth is not user for hasura at the moment.
- Have node and pnpm installed
- Have docker and docker compose
pnpm install
- Open the backend repo and run
docker compose up -d
. Read the README there if necessary. In the future the functionality there will be migrated here - Run
docker compose up -d
here to start hasura - Run
pnpm hasura:apply
and thenpnpm hasura:seed
to apply the migrations and seeding. This is needed to be run only when changes to the db schema are made - Run
pnpm hasura:console
to open the hasura console. This is useful for debugging - Run
pnpm graphql:codegen
. This needs to be re-run whenever you write new graphql queries or the schema changes - Run
pnpm dev
to start the Next.js app.
The following users are seeded:
and they all have the password Test1234!