Skip to content

keithCuniah/star-wars-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star wars graphql app

A react-graphql app in react and typescript which communicate with https://github.com/graphql/swapi-graphql

Getting started with Star wars react app

1/ Clone the swapi-graphql app (https://github.com/graphql/swapi-graphql) and start the app

2/ Report the port of the swapi-graphql into the App.tsx from star-wars-graphql app line 30

3/ Start the client server and go to the corresponding port

Note

External plugin :

1/ carousel : https://www.npmjs.com/package/react-responsive-carousel

2/ pagination : https://www.npmjs.com/package/react-paginate

3/ graphql and graphql client server : https://www.apollographql.com/docs/react/

Bug : There is a bug in the feature to go last 3 previous character details pages => the state in the detail page change but the update is not seen in the context

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published