Skip to content

lucky500/galactic-age-calculator

Repository files navigation

Galactic Age Calculator

image

An application to track your age in throughout the galaxy!

By Luciano Oliveira

Description

This web application allows users to enter their age and it will convert into seconds. It will also determined how far is your birthday in seconds, and how old you are if you live in different planets!.

Specifications

  • User will enter current age and calculator will convert it to seconds.
    • Example input: 08/12/1983
    • Example output: 1078273450 and counting
  • User can enter two dates and find the difference in seconds between the two
    • Example input: Date 1: 10/08/2017 Date 2: 10/13/2017
    • Example output: 432,000 seconds
  • Return human age in Mercury Years
    • Example input: 08/12/1983
    • Example output: "Your Mercurian age is 141.8 years!"
  • Return human age in Venus Years
    • Example input: 08/12/1983
    • Example output: "You are 55.5 in Venusian years!"
  • Return human age in Mars Years
    • Example input: 08/12/1983
    • Example output: "You are 18.1 in Martian years!"
  • Return human age in Jupiter Years
    • Example input: 08/12/1983
    • Example output: "You are 2.88 in Jovian years!"
  • Allow users to find out how many years they have left on each planet. Calculate this using gender, ethinicity and other different measures.
    • Example input: 08/12/1983, gender: Female, ethinicity: white
    • Example output: Your life expectancy in Mercury is 195.8 years.
  • If a user has already surpassed the average life expectancy, your application should account for (and test) this possible outcome as well.
    • Example input: 08/12/1932, gender: Female, ethinicity: white
    • Example output: Enjoy these bonus years.

Setup/Installation Requirements

  • Clone directory from github using git

  • NOTE: These instructions assume you already have Node installed.

Installing the necessary database:

  • clone this repo

  • In terminal, navigate into where you would like this project to live.

  • In your terminal enter: $ git clone https://github.com/lucky500/galactic-age-calculator.git

  • In your terminal enter: $ npm install

  • In your terminal enter: $ bower install

  • In your terminal enter: $ gulp build

  • In your terminal enter: $ gulp serve

  • Gulp will serve the file to either port 3000 or next available port

🐛Known Bugs🐛

There are no known bugs at this time.

Support and contact details

Feel free to contact me at luciano101@msn.com

Technologies Used

HTML, CSS, Bootstrap, ActiveRecord, Postgres

License

This software is licensed under the MIT license.

Copyright (c) 2017 Luciano Oliveira

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published