Skip to content

jaybojaybojaybo/SpacePlan

Repository files navigation

SpacePlan

Description

An Angular application that utilizes NASA's asteroid API to determine how many days it would take a potentially hazardous asteroid to reach our planet if it changed directions and made a beeline toward Earth. Brought from node.js in absolute-magnitude project.

Hosted at Space Age

User Stories

  • As a user, I want to select and submit a date.
  • As a user, I want to know how long it will take an asteroid to hit Earth given it's distance and velocity.
  • As a user, I want to know that asteroid's name.
  • As a user, I want to know that asteroid's distance away.
  • As a user, I want to know that asteroid's current velocity.
  • As a user, if there are more than one asteroid for a given day, I want to see the above details for each asteroid.
  • As a user, I want to see a spinning space shuttle icon.

Setup

  • Within terminal, clone this repository into the directory of your choice.
  • Once cloned, navigate into the project folder and open with the text editor of your choice.
  • Run npm install to install dependencies.
  • Run ng build to build the project.
  • Run ng serve for a dev server. Navigate to http:https://localhost:4200/. The app will automatically reload if you change any of the source files.

Support and contact details

Technologies Used

  • Typescript
  • Angular
  • NASA Asteroid API
  • Firebase for Hosting

License

Copyright (c) 2018 Jasun Feddema

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

See how long it will take an asteroid to hit Earth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages