forked from Tampa2016/team-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ideas
38 lines (31 loc) · 1.51 KB
/
Ideas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Ideas:
Connecting volunteers to those with needs.
Database
-Users(name, etc), points, type of user: volunteer etc, grab information from yelp
-allow someone to upload image to newsfeed, if we click image, we can pull more information about the image.
-display a newsfeed to people using the app (based on location (if time permits))
-accessabilities: attribiutes, what's available.
Instagram meets yelp, when people take pictures or videos, their location can be targeted for further use.
-"Explore around me" option
Incentivize with company sponsorships that give rewards based on points system.
-Points earned for posting photos/videos/reviews
URL reference: https://incandescent-inferno-8240.firebaseio.com/
https://resplendent-fire-3349.firebaseio.com/
var myDataRef = new Firebase('https://incandescent-inferno-8240.firebaseio.com/');
$('#messageInput').keypress(function (e) {
if (e.keyCode == 13) {
var name = $('#nameInput').val();
var text = $('#messageInput').val();
myDataRef.push({name: name, text: text});
$('#messageInput').val('');
}
});
myDataRef.on('child_added', function(snapshot) {
var message = snapshot.val();
displayChatMessage(message.name, message.text);
});
function displayChatMessage(name, text) {
$('<div/>').text(text).prepend($('<em/>').text(name+': ')).appendTo($('#messagesDiv'));
$('#messagesDiv')[0].scrollTop = $('#messagesDiv')[0].scrollHeight;
};
</script>