Code Monkey home page Code Monkey logo

globe-flight's Introduction

What it does

GlobeFlights allows users to search airports using their full name or IATA code in our database, which result is used to query more information on the selected airport through the aviationstack API. In addition to searching manually, users can also select the airport directly by clicking the cylinder on the globe. Once an airport is selected, its real-time information like weather and current flights will be displayed on the website. Users could further click on each individual flight to query the detailed information related to it.

How we built it

Our code is entirely comprised of frontend reactjs code, which consists of a UI layout based on ant design and a 3D globe based on react-globe.gl.

We built our globe component based on the react-globe.gl with supports and styling matching what we intended for the final result. This component will set the states on the top UI layout component to let it know which flight and airport are selected.

The UI layout handles all the data communication with external API and parses the information for the globe to consume.

Challenges we ran into

We initially want to set up cloud functions to call APIs and perform some additional operations on the collected data, but ran into some strange issues with our deployed code and have to switch to the full frontend approach.

Accomplishments that we're proud of

The globe can autofocus itself when you click the airport and flight!

What we learned

Get to know/review reactjs and some basic web graphics knowledge.

What's next for GlobeFlights

We plan to add more information to each flight and airport based on other APIs as well as increase the number of airports displayed.## Inspiration

What it does

GlobeFlights allows users to search airports using their full name or IATA code in our database, which result is used to query more information on the selected airport through the aviationstack API. In addition to searching manually, users can also select the airport directly by clicking the cylinder on the globe. Once an airport is selected, its real-time information like weather and current flights will be displayed on the website. Users could further click on each individual flight to query the detailed information related to it.

How we built it

Our code is entirely comprised of frontend reactjs code, which consists of a UI layout based on ant design and a 3D globe based on react-globe.gl.

We built our globe component based on the react-globe.gl with supports and styling matching what we intended for the final result. This component will set the states on the top UI layout component to let it know which flight and airport are selected.

The UI layout handles all the data communication with external API and parses the information for the globe to consume.

Challenges we ran into

We initially want to set up cloud functions to call APIs and perform some additional operations on the collected data, but ran into some strange issues with our deployed code and have to switch to the full frontend approach.

Accomplishments that we're proud of

The globe can autofocus itself when you click the airport and flight!

What we learned

Get to know/review reactjs and some basic web graphics knowledge.

What's next for GlobeFlights

We plan to add more information to each flight and airport based on other APIs as well as increase the number of airports displayed.

globe-flight's People

Contributors

william-an avatar du201 avatar sidsrini12 avatar jbalda8 avatar

Watchers

 avatar  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.