A react-graphql app in react and typescript which communicate with https://github.com/graphql/swapi-graphql
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
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
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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!