Super Galactic Age Calculator

Business logic for calculating user's age on different planets.

By Louie Schoenknecht

Technologies Used

  • Babel
  • Bootstrap
  • clean-webpack-plugin
  • CSS
  • eslint
  • HTML5
  • JavaScript
  • Jest
  • jQuery
  • Node & NPM
  • popper.js
  • webpack

Description

This project was made for my week 5 independent Friday project at Epicodus. The primary purpose is to practice testing each part of the application using Jest. As such there is no UI in place. This program calculates the user's age in years on various planets in our solar system. For instance, I am 23 years old on Earth, but since a year on Mars is equal to 1.88 Earth years, I am only 12 years old on Mars. The program also calculates the amount of years the user has left to live based on the average life expectancy, and adjusts the number for each planet's different orbital speed.

Setup/Installation Requirements

  • Clone repository from GitHub using: $ git clone https://github.com/louiesch/galactic-age-calc
  • Open project directory in terminal
  • Re-build project environment using command $ npm install
  • Create project environment using command $ npm run build
  • Open the project in browser using command $ npm run start

Known Bugs

  • No known bugs.

License

MIT

Copyright (c) 2021 Louie Schoenknecht

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.

Contact Information

Get in touch: luisesch97@gmail.com