App is live on AWS! http://voyage.fkqpxtepmm.us-west-2.elasticbeanstalk.com (at least until my credits run out...)
Screenshots:
And more in the demo/
folder!
MVP:
- Login (
mod_auth
): Used Flask session to validate each view when the user log in/out - Register
- (Basic) Add a landmark (
mod_landmark
): Used Google Geocode to parse the landmark name entered by the user to a coordinate. - (Basic) View landmarks & render on map (
mod_map
): All users' landmarks are queried from the database (seeviewMap.js
) and drawn on the map as a simple red marker. Ref: Custom style for map and custom markers
More:
- Red marker should be clickable and info about its ratings and photos should be displayed. https://developers.google.com/maps/documentation/javascript/examples/place-details
- Picture needs to be stored in database. Right now the only thing stored is the filename
- Theme management
- Photo collage generator
Note: The project is created using Python 2.x
- Instal
pip
- Install
virtualenv
- Clone the repo. Create your own branch to work on.
cd Voyage
and thenvirtualenv your-env
to create your new virtual environment, and activate it.- Install all dependencies:
(your-env)$ pip install -r requirements.txt
- To run the app locally:
(your-env)$ python application.py
You must set your environment variables in order to connect to the database
- Example flow of mod_auth:
- import the controllers in main
__init__.py
- controllers import models (interacting with DB) and forms (dependent module)
- import the controllers in main
- Install Postgresql
- Flask app deployed on AWS Elasticbeanstalk
- PostgreSQL database deployed on AWS RDS