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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?