Functional prototype of the BBBS Events app for demonstration purposes
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Functional prototype of the BBBS Events app for demonstration purposes


##Demo [Live Demo]( ##API Spec:

Firebase RESTful API URL: https://[firebase][path/to/json/object].json

With the firebase RESTful API, GET returns the json data, PUT replaces the json data, and POST appends to the json data.

Our project is using the firebase JavaScript library.

Our data is stored in the firebase as described below. events is an object containing event objects, where each key is the string assigned by firebase when it is stored, and each value is the event object associated with that string.

Every event has a beginning date and/or time (datebegin). A standing event that doesn't have a specific start date should default to the empty string for this value. An example of a standing event would be a discount partnership that is valid during the hours of operation of a business, or an event that repeats often enough that it would be annoying to manually enter it into the system each time. These standing events will be presented seperately from the scheduled events, unless they are 'promoted', in which case the event will be promoted to the top of the event search results.

data : {
	events : {
		event_id : {	//event_id is a string assigned by firebase
			address 	:	string	// will be parsed by mapping API

			agerange 	:	string	// one of ageranges (see below)

			category 	:	[string]	// zero or more of categories (see below)

			datebegin	:	string	// milliseconds. ie: "1405043349696"; see JS Date object

			description	:	string

			picture		:	string	// full URL of the picture to include

			pricerange	:	string		// one of priceranges (see below)

			promoted	:	boolean

			rating		:	int		// one of ratings (see below)

			schedule	:	string	// human-readable, ie: "M-F 9am-5pm". Not programmatically parsed.

			title		:	string

			url 		:	string	// full URL; ie: ""

	categories : [string]

	ratings : [int]

	ageranges : [string]

	priceranges : [string] 	//ie: [free, $, $$, $$$, $$$$, $$$$$]
##Installation **Note**: This is still in development; once we have a functional prototype, we will move all development to a `dev` branch and leave the `master` branch as the current release. Stay tuned for details on configuring your firebase, defining your firebase URL in the javascript, and any installation/hosting details. ##Road Map We plan on finishing the prototype such that it will be all static HTML, JavaScript, and CSS files and can be hosted on any static web page server. This, coupled with your [firebase plan]( of choice, should remove the need for any server-side coding. Depending on your database connection needs, you might get by with the free firebase hacker plan. Otherwise, you simply pay for your connection needs.

We have on the horizon the vision to make a sequel server version, so you can host it all locally on a server you have access to. Also, this was born at a hackathon, so we didn't get a chance to use any JS frameworks; however, future versions may be rewritten in AngularJS and possibly use Google Maps API or the new firebase Geofire.


Read about our hackathon on the Big Brothers Big Sisters of Central Texas blog.

Thank-you to ESRI for supporting this non-profit effort with API access.