Git Product home page Git Product logo

react-ssr-apollo-boilerplate's Introduction

React Server Side Rendering Using GraphQL and apollo

A baseline for server side rendering for your React application using GraphQL Apollo. Inspired by https://github.com/manuelbieh/react-ssr-setup

Getting started

Clone the repo with git clone [email protected]:sepehr1313/react-ssr-apollo-boilerplate.git

Install dependencies with npm i

Run dev mode with npm start

Build for production npm build

Now open the browser and navigate to http://localhost:3000 and you get your server rendered React app. You can inspect the page source and see that the html coming from your local server has all the nodes defined in the React app.

Packages and frameworks

Here are a few of the highlighted technologies used in this project, as well as a few anticipated technologies that will work their way into this project in the future:

  • React 17
  • GraphQL
  • React Router
  • Apollo 3
  • Emotion-js 11

react-ssr-apollo-boilerplate's People

Contributors

dependabot[bot] avatar frntendev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-ssr-apollo-boilerplate's Issues

Add dynamic meta tags and information

Hi @Sepehr1313,

Good boilerplate! Can you please add react-helmet for dynamic meta information. I tried, but seem to be unsuccessfull.
Dynamic meta tags are a great addition to SSR app. Please consider adding this.

Also, can you add a section on deployment. I can't seem to deploy this to heroku no matter what I try.

No license

You do not have a license assigned to this project, meaning nobody can/should even look at it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.