Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 977 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 977 Bytes

SpaceX demo follow Traversy Media tutorial

Visual Studio Extension

  • ES7 React/Redux/GraphQL/React-Native snippets
  • bracket-pair-colorizer

NOTE

  • {launch: { flight_number, mission_name, launch_date_local, launch_success } [Destructing passed parameter to smaller variables]
  • moment, react-moment used to handle time value
  • classnames handle className for element
  • react-router-dom handle router
  • Remember to install graphql
  • Install express
  • Use GraphQL with express
  • npx create-react-app client [create client folder]
  • Install concurrently
  • Install Apollo Client
    • npm install apollo-boost react-apollo graphql --save [in client folder]
  • npm i cors [Allow cors call from client]
  • npm i classnames moment react-moment [in client folder]
  • npm i react-router-dom [in client folder]