Giter VIP home page Giter VIP logo

spacex-graphql's Introduction

SpaceX TypeScript/React(Hooks)/GraphQL Application

Have you ever wanted to learn more about advanced rocket and spacecraft launches? Then you've come to the right place! This application provides users with up-to-date information on SpaceX's previous and upcoming launches, including in-depth data such as mission names, launch dates, rocket names, video links, and much more. Created with a tech stack that includes TypeScript, React(Hooks), and Apollo GraphQL, please feel free to fork and/or clone the codebase and test it out!

Installation

To install, navigate to the project directory and run npm install in the command line.

Additionally, 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 utilizing Hot Module Replacement.
You will also see any lint errors in the console.

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.

Usage

Upon initial render, by default the page will show all launches in chronological order. Each launch item consists of the individual launch's Mission Name, Rocket Name, Launch Date, and Video Link.

initial render

At the top of the page, click on the desired Launch Search parameter. Options include searching by Mission Name, Rocket Name, or Launch Year.

Search Parameters

After clicking the parameter of choice, a drop down bar with all of the respective options will be available. Select an option and the Launch List will re-render with the updated query.

Drop Down

Additionally, upon clicking a launch within the Launch List, a Launch Profile will render on the right side of the application. This Launch profile will provide additional information regarding the selected launch, such as a desciption of the launch, the launch status, launch badge, photographs, and more.

Launch Profile

Tech Stack

Built with

  • TypeScript
  • React(Hooks)
  • GraphQL
  • Apollo Client(Hooks)

License

MIT © Reid Klarsfeld

spacex-graphql's People

Contributors

reidklarsfeld avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.