Skip to content

Latest commit

 

History

History
executable file
·
41 lines (28 loc) · 772 Bytes

README.md

File metadata and controls

executable file
·
41 lines (28 loc) · 772 Bytes

Setup

Copy .env.example to .env.

Getting Started

First, run the ReScript compiler:

yarn res:watch

Second, run the Next server

yarn dev

Relay compiler

Only necessary if you modify the queries

yarn relay

Running API Server

Prerequisites

  1. Docker
    1. Highly recommend OrbStack for Mac instead of Docker Desktop
  2. Optional: Hasura CLI (Optional)
    1. Helps with migrations and config files in case you want to modify the API :) not necessary

Running Hasura

Go to ./spacy-server and run

docker compose up -d

And that's it! You now have a Postgres + GraphQL API