Escapist-007 / MyWayPoints

This project will show a route along some waypoints with weather information between two places and save the API responses in a Database to reduce the API call. The project is part of the graduate-level course CSE-586 : Distributed Systems [Fall 2018 @ UB_SUNY]...... Course Instructor : Bina Ramamurthy (https://cse.buffalo.edu/~bina/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The app is hosted online. Link

MyWayPoints is a distributed web application that provides users the weather information of cities along a route. This enhanced information will help them to prepare for their trip. When a user inputs 'Origin' and 'Destination' locations on this web app, they will get the optimized route along with some markers on the route. Every marker will represent a city on the route and show the real time weather information of that city.

This is the version 02 of MyWayPoints web application. In this version, I use a database, so all the repeated requests (same 'Origin' and 'Destination') are served from database. But the initial request is served by accessing the APIs. I use 2 API : Google Map API for showing the route and OpenWeather API for showing the real time weather information of a city.

Prerequisites

What things you need to run MyWayPoints from your pc/localhost.

 python 3.5.5
 Django 2.1.1
 googlemaps 3.0.2
 reverse_geocoder 1.5.1
 SQLite

Use pip to install these modules.

pip install django
pip install googlemaps
pip install reverse_geocoder

Installing

How you can run this django project MyWayPoints_v2 is described below with necessary screenshots.

cd MyWayPoints
python manage.py runserver

The server will start in a few seconds with a default url : http://127.0.0.1:8000

A screenshot of these steps :

Next,

  • Go to the url : http://127.0.0.1:8000/map/input
  • Type Origin and Destination
  • Press Submit button
  • See the Route
  • You will get two buttons on the left side of the screen.
  • Press Show Way Poins to see the markers
  • You will see all the markers along the route
  • Click a marker to show the weather information of that city
  • You will get the information in a window with a yellow marker

Screenshots of running MyWayPoints_v2:

UI for taking inputs

Initial Output with route

The input was buffalo to rochester.

The input was buffalo to nyc.

After pressing the button Show Way Points

Built With

Authors

  • Md Moniruzzaman Monir

About

This project will show a route along some waypoints with weather information between two places and save the API responses in a Database to reduce the API call. The project is part of the graduate-level course CSE-586 : Distributed Systems [Fall 2018 @ UB_SUNY]...... Course Instructor : Bina Ramamurthy (https://cse.buffalo.edu/~bina/)


Languages

Language:HTML 68.3%Language:Python 31.7%