Skip to content

kennetvu/graphql-relay-example

Repository files navigation

Graphql+relay example

Car register application to showcase how we can use modern react-relay with graphql

Stack

  • NextJS
  • Graphql-Yoga(Graphql layer)
  • Relay(Graphql client)
  • Prisma(ORM)
  • SQLite(DB)
  • Preact-signals(Global state management)

Getting Started

First, install packages

yarn

then, run prisma migration

yarn migrate

run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result. Open http://localhost:3000/api/graphql to open graphql playground

to generate files run:

yarn generate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published