Skip to content

Example of React + Apollo + Hypernova + Rails + Webpacker

Notifications You must be signed in to change notification settings

bessey/hypernova_apollo_rails

Repository files navigation

Rails + Webpacker + React + Apollo + Hypernova SSR

Complete example for the blog post Server Side Rendering for React + Apollo GraphQL Client.

On the Ruby side we have a Rails 5.2 app, with Webpacker installed, and customized to support Hypernova. On the JS side, we have a couple React components, one using Apollo GraphQL Client.

Setup

# install dependencies
bundle install
yarn install
# boot rails
./bin/rails server
# (optional) boot hypernova for SSR
yarn run hypernova

Points of Interest

There's plenty of Rails + Webpacker boilerplate here, so here's some key places to look for implementation details:

About

Example of React + Apollo + Hypernova + Rails + Webpacker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published