Skip to content

Instantly share code, notes, and snippets.

@alanshaw
Created February 5, 2014 11:58
Show Gist options
  • Save alanshaw/8822198 to your computer and use it in GitHub Desktop.
Save alanshaw/8822198 to your computer and use it in GitHub Desktop.
TutorWire talk
===
About
---
* Application to put students and tutors in touch with each other
* Simple map orientated interface
* Currently in public beta at beta.tutorwire.org
Tech
---
* Using meteorite for obtaining packages outside of the official meteor packages
* Uses ironrouter to for easy multi page app creation
* Map is wired up to reactive datasources, so when the data changes the map changes
* accounts-ui-bootstrap-3 for simple drop in user sign in, registration, forgot password
* Can add single line configuration to enable facebook/twitter sign in
* Map is a leafletjs map
* Using twitter typeahead in the input boxes for suggestions
* Uses meteor email package for sending messages to users when they are offline
What you can do
---
* Search for and view tutor profiles
* Register to get in contact or create a tutor profile
* typeahead suggestions come from meteor collections so can change dynamically
* The map is hooked up to reactive datasources so when new tutors register they appear on the map for all clients searching for their subject
* Simple realtime messaging system with badges for notifications whilst online and emails when offline
Gotchas
---
* ironrouter has a callback for "after" routing has occurred. This doesn't necessarily mean that your template has rendered yet
* You can't use meteor templates on the server side for your emails. I had to include a handlebars atmosphere package to get this to work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment