Skip to content

DeveloperWeek 2020 Hackathon Project: Happy Happy Hour lets restaurants advertise happy hour specials that use soon-to-expire ingredients so they can reduce food waste and increase profits.

Notifications You must be signed in to change notification settings

emilycheera/happy-happy-hour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Happy Happy Hour

This web app was created as a part of the 2020 DeveloperWeek Hackathon in San Francisco. My team participated in the TomTom API challenge to reduce food waste. Happy Happy Hour lets restaurants create happy hour specials out of inventory that will soon expire, and users can search a map for local deals.

Contents

Tech Stack

Frontend: JavaScript, jQuery, HTML5, CSS, Bootstrap
Backend: Python, Flask, PostgreSQL, SQLAlchemy
API: TomTom API

Features

Landing Page

Users can search the map powered by TomTom's API for local happy hour offers.

alt text

Restaurant Dashboard

After restaurant owners register an account and login, they can post an offer to display on the map.

alt text

Future State

There are many features we'd like to add in the future:

  • Adding user accounts so they can opt-in to receive alerts for local deals
  • Route users from their current location to the restaurant
  • Add option to filter deals by price, time, and cuisine

Installation

To run Happy Happy Hour on your local machine, follow the steps below:

Install PostgreSQL (Mac OSX)

Clone or fork this repo:

https://github.com/emilycheera/happy-happy-hour.git

Create and activate a virtual environment inside your Nourish directory:

virtualenv env
source env/bin/activate

Install the dependencies:

pip install -r requirements.txt

Set up the database:

createdb happy
python3 seeds.py

Run the app:

python3 server.py

You can now navigate to 'localhost:5000' to access Happy Happy Hour.

About

DeveloperWeek 2020 Hackathon Project: Happy Happy Hour lets restaurants advertise happy hour specials that use soon-to-expire ingredients so they can reduce food waste and increase profits.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •