Skip to content

Our submission for the hack-for-heroes hackathon, to build something useful for frontline workers and vulnerable people during the COVID-19 health crisis.

Notifications You must be signed in to change notification settings

jlblumberg/hfh-groceries

Repository files navigation


⚠️⚠️⚠️

When Heroku became paywalled, we decided to decommission the site. You can still explore the code and see how it used to look below.

⚠️⚠️⚠️


Hack For Heroes Hackathon (1 - 3 June 2020) - Team Groceries 🛒

Objective | Collaborators | Planning | User Stories | MVP | Running the program | Testing | Technologies | Further work

Check it out live, right here!!

Create an app which provides frontline workers and at-risk individuals with the open times devoted purely to them at their nearest supermarket, combining information from major supermarkets in one place.

As an NHS/key worker/vulnerable person,
so that I can find the best time to shop
I want to see when my local supermarket's special hours are
As an NHS/key worker/vulnerable person,
so that I can find the closest place to shop
I want to see where my local supermarkets are (based on postcode) on a map
As a NHS/key worker/vulnerable person
So that I can show off my project
I would like to be able to see the information on a publicly accessible site

Our MVP will include the following features:

  • Ability to input your postcode as a search parameter
  • Nearby shops will appear on a map with a pin that when clicked will show the relevant information
  • Sainsburys selected as a proof of concept, to be expanded in future work
  • Relevant information:
    • Display all opening hours for selected shop
    • Display the hours the shop is open for NHS/key workers/vulnerable individuals

App in action

key-time-app

Check it out live at hfh-groceries.herokuapp.com

Setup

$ git clone https://github.com/jlblumberg/hfh-groceries.git
$ cd hfh-groceries
$ bundle install
$ yarn install
$ touch .env

You will then have to add a MAPS_API_KEY to the .env file with a valid Google API key.

$ rspec 
$ rubocop # TBC
  • Ruby on Rails
  • Javascript
  • Webpack
  • Google Maps API libraries: Maps, Places, Geocoder
  • Expand app to show further supermarket chains on search
  • Geolocation option to search for supermarkets near your current location
  • Shop information displayed as a text list for improved user experience, and to ensure data is accessible to screen readers
  • Search for nearby supermarkets is performed dynamically when the map changes or a user searches for a different location

About

Our submission for the hack-for-heroes hackathon, to build something useful for frontline workers and vulnerable people during the COVID-19 health crisis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published