A Gatsby hybrid site generator based on React.
For an overview of the project structure please refer to the Gatsby documentation - Building with Components
Some components use ReasonReact, a functional interface to React powered by ReasonML.
- Static site with dynamic build process - Gatsby uses Server Side Rendering (SSR) to generate the static HTML during the production build process.
- reason-events-api - persists user accountS and events
- GraphQL communication - 2 separate usages - used to retrieve Gatsby build data during the build process, and to speak to the API. The build process usage is powered by a Gatsby global
graphql
tag, and the API usage is powered by Apollo Client.
Install dependencies with Yarn:
$ yarn
Run the dev server:
$ yarn dev
Run the BuckleScript compiler for ReasonML:
$ yarn build.re.watch
Run a production build:
$ yarn build