Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.93 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.93 KB

Introduction

This is a full-stack web application that uses Python Flask framework. It provides features to a logged in user to make a list of countries they want to travel and then a sub-list of destinations inside each country. Countries can be selected from the list dropdown. Inside each country, user can add valid addresses(uses axios) inside that country. The database saves a valid address with actual google maps latitude and longitude. Each country and spot inside country can be added or deleted. Comments can be added, or updated for each sub-list item inside a country => (CRUD). The user needs to log in using their Google account. For user-level JSON, go to /apidestinations (requires log in). For each item (JSON) owned by user, go to /apidestinations/<destid>. Requests for creating, deleting, and updating records can be sent Postman.

Dependencies

The application is based on the following Python(3.7.1) packages:

  • SQLAlchemy==1.2.15
  • Flask==1.0.2
  • Flask_OAuthlib==0.9.5
  • geocoder==1.38.1

To install the above, use pip install <package>. Or using the provided reqs file: pip install -r requirements.txt.

  • Bootstrap 3.4.0 CDN
  • jQuery 3.3.1 CDN

Run the app

There are two ways to run this full-stack application.

  1. Check this heroku application!
  2. Follow these steps:
    • Clone this repository.
    • Install the requirements mentioned above.
    • Navigate into application directory and run python destplanner.py.
    • From your browser, go to localhost:5000 to access the index!

Demonstration

See this heroku application!

License

See license