Giter Club home page Giter Club logo

space-portfolioapp's Introduction

Space PortfolioApp

Space personal site that shows cool content about SpaceX missions and NASA's multimedia. New features are in progress.

Sapce app

Techs under the hood

This is a small fullstack JavaScript application I made to practice. It uses React in the front and connects through Apollo to a simple Express GraphQl middleware to request field specific data from NASA's and SpaceX rest APIs. Feel free to fork the project or test open graphiql endpoint to request data from both APIs (limited to 20 requests).

Getting Starter

To begin working locally run the dev script. This will fire concurrently both the server and the client.

# Install dependencies (server & client)
npm install
cd client && npm install

# Run server & client (:3000 & :5000)
npm run dev

To deploy just run the start script and it will take care of everything. Optional scripts:

# Build for production (Builds into server ./public)
cd client && npm run build

# Graphiql - http://localhost:5000/graphql

Models

You will find full model types in the schema.js file under /app.

Example

For example to request all SpaceX missions, the GraphQl query would look something like this:

lanzamientos {
      flight_number
      mission_name
      launch_date_local
      launch_success
    }

What I practice

  • Apollo Client
  • GraphQl Models
  • GraphQl Queries
  • React

space-portfolioapp's People

Contributors

jotaraffalli avatar

Watchers

James Cloos avatar  avatar

Forkers

supadupa24

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.