GithubHelp home page GithubHelp logo

ricky-ma / hotspot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 370 KB

Easily practice social distancing by seeing the busiest crowds in town - and avoiding them

Python 10.57% Java 89.43%
android-application android android-app java datastax-java-driver datastax-astra google-maps-api google-cloud google-cloud-functions cassandra

hotspot's Introduction

HotSpot ๐Ÿ”ฅ๐Ÿ“

Easily practice social distancing by seeing the busiest crowds in town - and avoiding them

Inspiration

Restaurants are one of the few places today where masks are taken off. Due to the pandemic, people prefer to eat at less crowded places.

What it does

Our app provides a way for users to quickly find less crowded restaurants to dine at while avoiding potential hotspots and super-spreader events. Users are first provided with a heatmap, a large overview of the city where they can decide which areas of the city to avoid at a glance. A simple search operation then displays relative restaurants, where users can view a restaurant's specific crowdedness level and other important details.

How we built it

Restaurant data are queried from Google using the Google Places API and stored in an Apache Cassandra database using DataStax Astra. Since popular-times data does not update very frequently, and in order to conserve computations, we define a Google Cloud Function and using the Google Cloud Scheduler to provide updates to the database hourly. The Android app is built entirely in Java and data is queried from the database using a REST API. We using Google Place Search to perform search operations and the SDK for Google Maps Android development.

What's next for Hotspot

To simplify development and conserve compute credits, we have limited the app to a testing area of just Vancouver, Canada, and only update the database hourly. The app, however, can easily be configured to be deployed around the world with real-time hotspot updates. We believe such an app is immensely useful as Covid-19 vaccines are distributed and the world transitions back to normalcy.

Demo

DEMO

Built With

  • java
  • python
  • android-studio
  • datastax-astra
  • google-cloud
  • google-places
  • cassandra

hotspot's People

Contributors

kalebhui avatar kxing28 avatar ralphpascual avatar ricky-ma avatar

Watchers

 avatar  avatar

hotspot's Issues

Not enough popular-times data

Fix python script to get more popular-times data from google maps. This will allow for better search results, prettier/fuller heatmap, and more

Make pretty

Fix headers, header titles, increase font sizes, etc.

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.