Giter VIP home page Giter VIP logo

voyage's Introduction

Voyage - A Visual Travel Journal

Demo

App is live on AWS! http://voyage.fkqpxtepmm.us-west-2.elasticbeanstalk.com (at least until my credits run out...)

Screenshots:

view-map

collage-req

collage-res

And more in the demo/ folder!

Todo

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 (see viewMap.js) and drawn on the map as a simple red marker. Ref: Custom style for map and custom markers

More:

Installation instructions

Note: The project is created using Python 2.x

  1. Instal pip
  2. Install virtualenv
  3. Clone the repo. Create your own branch to work on.
  4. cd Voyage and then virtualenv your-env to create your new virtual environment, and activate it.
  5. Install all dependencies: (your-env)$ pip install -r requirements.txt
  6. To run the app locally: (your-env)$ python application.py

You must set your environment variables in order to connect to the database

How the app flows

  • Example flow of mod_auth:
    • import the controllers in main __init__.py
    • controllers import models (interacting with DB) and forms (dependent module)

Databases

Deployment on AWS

  • Flask app deployed on AWS Elasticbeanstalk
  • PostgreSQL database deployed on AWS RDS

Materials on Flask

voyage's People

Contributors

hieusydo avatar notmichaelchen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.