Deployed! http://evening-shelf-57060.herokuapp.com/
Bowl Full of Stars is the 4 week project that I completed during my time as an software engineering fellow at Hackbright. Bowl Full of Stars is a web app that generates an image of the stars in the sky as viewed from different locations and times of day. Users can create an account and save their home location so that it will automatically generate the sky at that location when they are logged in.
Backend: Python, Flask, PostgreSQL, SQLAlchemy
Frontend: JavaScript, jQuery, AJAX, Jinja, Bootstrap, HTML5, CSS
APIs: Google Maps
The sky maps are viewable in four directions, the current direction is visible in the dropdown menu above the sky image
A button can be clicked to view the Constellations
Images of the constellations appear on the right, on mouseover of a constellation name in the list
Information about stars and constellations is visible on mouseover
Planets, and the sun and moon, are also visible, using information from the python library ephmeral
The location can be changed in a menu below the star map. Google Maps will autfill the latitude and longitude when the user inputs a location.
Each star has its own info page, if the star is visible at the default location, this page will also note in which direction to look for it.
Users can create an account where they can set thier own default location and save stars of interest. If those stars are visible in thier default window the direction in which to look is displayed next to the name.
To run Bowl Full of Stars:
Install PostgreSQL
Clone or fork this repo:
https://github.com/ZoeShirah/Star_Project
Create and activate a virtual environment inside your directory:
virtualenv env
source env/bin/activate
Install the dependencies:
pip install -r requirements.txt
Sign up to use the Google Maps API (https://developers.google.com/maps/)
Save your API key in a file called secrets.sh using this format:
export GOOGLE_API_KEY="YOUR_KEY_GOES_HERE"
Source your keys from your secrets.sh file into your virtual environment:
source secrets.sh
Set up the database:
python model.py
Run the app:
python server.py
You can now navigate to 'localhost:5000/' to use Bowl Full of Stars.
Or check out the heroku app! http://evening-shelf-57060.herokuapp.com/