This repository contains multiple packages managed with lerna.js and yarn workspaces. This is the root repository for the React GraphQL Academy:
First, install all the dependencies. yarn
or npm install
, instead run:
yarn bootstrap
This will run lerna and install all the dependencies of all the repositories
The website is under the www folder. The website is built with Gatsby.js.
After installing the dependencies, from the root repository (meaning, this folder) run:
yarn start
More info about the website here
The CMS is under the /cms folder. The CMS is built with Sanity.io.
After installing the dependencies, from the root repository (meaning, this folder) run:
yarn start:cms
More info about the CMS here
Our design system is implemented in a UI component library under the packages folder. It's built with Lerna (1 package per component), TypeScript, and styled-system. It's documented with Docz + Gatsby under /packages/docs.
After installing the dependencies, from the root repository (meaning, this folder) run:
yarn start:docs
More info about the design system documentation here
The serverless functions are under the /serverless folder. It uses Google Cloud Functions.
First install the dependencies from the serverless folder: cd serverless && yarn
.
cd serverless && yarn dev
More info about the Serverless here