react-apollo-realworld-example-app

Exemplary real world application built with React + Apollo https://realworld-react-apollo.herokuapp.com

Github stars Tracking Chart

RealWorld Example App

React + Apollo codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and GraphQL API.

Demo    RealWorld

This codebase was created to demonstrate a fully fledged fullstack application built with React + Apollo including CRUD operations, authentication, routing, pagination, and more.

Getting started

You can view a live demo over at https://realworld-react-apollo.herokuapp.com/

To get the frontend running locally:

  1. Clone this repo
  2. npm install to install required dependencies
  3. npm start to start the development server

Making requests to the backend API

For convenience, we have a live GraphQL API server running at https://realworld-graphql.herokuapp.com/graphql for the application to make requests against. You can view the GraphQL API spec here which contains the schema for the server.

The source code for the backend server (available for Ruby on Rails) can be found in the this repo.

If you want to change the API URL to a local server, simply set REACT_APP_GRAPHQL_URL env variable to another URL.
REACT_APP_GRAPHQL_URL=http://localhost:3000/graphql yarn start

Main metrics

Overview
Name With Ownerdostu/react-apollo-realworld-example-app
Primary LanguageJavaScript
Program languageHTML (Language Count: 3)
Platform
License:
所有者活动
Created At2018-07-13 22:26:44
Pushed At2021-09-15 20:16:20
Last Commit At2021-09-15 23:16:16
Release Count0
用户参与
Stargazers Count92
Watchers Count4
Fork Count18
Commits Count23
Has Issues Enabled
Issues Count1
Issue Open Count1
Pull Requests Count5
Pull Requests Open Count0
Pull Requests Close Count26
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private