Next Meal is an informational tool to assist those in need by helping them find local meal programs. You can view the deployed web app at https://next-meal.herokuapp.com.
Source data is gathered from https://data.seattle.gov, and geocode data from https://maps.googleapi.com.
It is possible to run this application locally, but you will not be able to fetch the data required to build the database unless you have the correct API keys set in your local environment.
Meal information can be retrieved from our server in three ways:
- HTTP Request
- SMS Request
- Voice Request
If you wish to access the API server directly, Next Meal has a number of routes that will allow you to fetch data in a JSON format. To get all current information, an HTTP GET request can be made to:
https://next-meal.herokuapp.com/api/meals
Alternatively, a subset of the data can be retrieved by appending filters to the URL. For example, appending 'breakfast' will return only the locations that serve breakfast, or appending 'women' will return locations that specifically serve women. Below are the current routes that provide filtered information:
/api/meals/breakfast
/api/meals/lunch
/api/meals/snack
/api/meals/dinner
/api/meals/everyone
/api/meals/men
/api/meals/women
/api/meals/youth
/api/meals/children
Next Meal allows for information to be requested via SMS messaging. Next Meal will receive SMS messaging and respond with the requested information.
To receive a response:
-
Send a SMS (text) message to the following phone number: 425-276-6480
-
The text message should contain one of the meal filters listed above. For example, texting 'lunch' will retrieve only the locations that serve lunch.
-
When using SMS to obtain information, the application will filter results by the current day of the week.
Next Meal also allows for meal information to be requested through phone messages. To receive a response:
-
Call: 206-429-6617
-
The user will be prompted to select: (1) for breakfast, (2) for lunch, or (3) for dinner.
-
Next Meal will respond with two different location options.
Although it is not required, users may register their phone number with Next Meal. In a future implementation, Next Meal will be able to send news and updates to users via SMS. Text 'register' to 206-429-6617 from the device that you wish to register.