Copy .env.example to .env.
First, run the ReScript compiler:
yarn res:watchSecond, run the Next server
yarn dev
Only necessary if you modify the queries
yarn relayPrerequisites
- Docker
- Highly recommend OrbStack for Mac instead of Docker Desktop
- Optional: Hasura CLI (Optional)
- Helps with migrations and config files in case you want to modify the API :) not necessary
Go to ./spacy-server and run
docker compose up -dAnd that's it! You now have a Postgres + GraphQL API