Basic starter kit for a fullstack GraphQL app with ReasonReact and Node.js - based on the minimal example of react-fullstack-graphql.
- Install dependencies: run
yarn
in project root thencd server
and runyarn
- For frontend dev server: run
yarn dev
ornpm run dev
, from project root. The app should be running at: http://localhost:8888. - For graphql server: in seperate terminal tab/window
cd server
and runyarn bsb
ornpm run bsb
followed byyarn start
ornpm start
, the server should be running at: http://localhost:4000. - To build frontend run:
yarn build
ornpm run build
from project root. Runyarn start
ornpm start
to start app.
- Use Prisma
- Server-side rendering