Skip to content

r-farkhutdinov/gql-spacex

About the project

This project is created to demonstrate how a SPA can be created using modern React with hooks, TypeScript at core, GraphQL with Apollo client and styled-components. The application is using the public GraphQL API of SpaceX https://api.spacex.land/graphql/

Main technologies review

  1. React at core
  2. Typescript
  3. Apollo Client (GraphQL)
  4. styled-components
  5. Webpack
  6. react-router

Setup and run

Commands that can be executed are listed in package.json file. Node has to be installed to run the project.

  1. Use npm i or yarn to install packages,
  2. Use npm start or yarn start to start the application in development mode in localhost:8080,
  3. Use npm run generate or yarn generate to generate the schema, type definitions and hooks to use GraphQL,
  4. Use npm run build or yarn build to build the static project ready for production, located at /prod.

About

Sample SPA using React, Typescript, GraphQL (Apollo) with SpaceX public GraphQL API

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published