Skip to content

ericplaquevent/swapi-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWAPI React Client

This project was bootstrapped with Create React App.

Then I installed the following packages to play around with GraphQL :

  • apollo-client
  • react-apollo
  • apollo-cache-inmemory
  • apollo-link-http
  • graphql
  • graphql-tag

(no need to run it it's already done)

 npm install --save apollo-client react-apollo apollo-cache-inmemory apollo-link-http graphql graphql-tag

Start client

In the project directory, you can run:

npm start

Install server

Clone the repo :

git clone https://github.com/graphql/swapi-graphql.git

Set the server port in package.json :

"start": "PORT=9999 node lib/server/main.js",
npm install
npm run build
npm start

About

React front to play around with GraphQL API of Star Wars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published