react-apollo-realworld-example-app

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

Github星跟踪图

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

主要指标

概览
名称与所有者dostu/react-apollo-realworld-example-app
主编程语言JavaScript
编程语言HTML (语言数: 3)
平台
许可证
所有者活动
创建于2018-07-13 22:26:44
推送于2021-09-15 20:16:20
最后一次提交2021-09-15 23:16:16
发布数0
用户参与
星数92
关注者数4
派生数18
提交数23
已启用问题?
问题数1
打开的问题数1
拉请求数5
打开的拉请求数0
关闭的拉请求数26
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?