Display downtown Saint Paul food and drink deals
Happy hour and alcohol only parameters are respected and available on the About page:
alcoholOnlywill limit results to deals with alcohol when true; when false deals including those with alcohol will be returnedhhwill return all deals including happy hour (default is not to include happy hour deals)
Both parameters can be used with each other.
You can modify this code to use other data services and data attributes but this code assumes you are using sheet_zoukas-lambda deployed on AWS to expose a Google Sheet.
The backing Google Sheet requires the following tabs and corresponding column headers
-
Deals
- Day
- Name
- Deal
- Happy Hour
- Alcohol
- Url
- Start
- End
-
giftcards
- Place
- Deal
- Deal Starts
- Deal Ends
SHEETID is the Google Sheet ID from which data will be read. SHEETSURL is the URL of the service that retrieves the data from the Google Sheet. HOLIDAYURL is the URL of the service that retrieves holiday data.
ASPNETCORE_APPCONFIG__SHEETID
ASPNETCORE_APPCONFIG__SHEETSURL
APPCONFIG__HOLIDAYURL root (e.g., https://DOMAIN.azurewebsites.net/api)
$ dotnet run
See DEVELOPER.md for more information on developing and running.