Last active
August 29, 2015 13:56
-
-
Save srivastavarobin/8982444 to your computer and use it in GitHub Desktop.
Revisions
-
srivastavarobin revised this gist
Feb 13, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ 5. Send the notification 6. Get the second batch and send the notification 7. Repeat 6 till the list is exhausted 8. Following would be achieved 1. Send push notifications 2. Get the list of canonical IDs * Phone number -
srivastavarobin revised this gist
Feb 13, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,19 +12,19 @@ 6. Get the second batch and send the notification 7. Repeat 6 till the list is exhausted 8. Following is achieved 1. Send push notifications 2. Get the list of canonical IDs * Phone number * User ID * Old Push ID * New Push ID * Available as JSON with the date and time of its creation 3. Get the list of IDs for which the push could not be send along with the reason * Phone number * User ID * Push ID * Reason 4. Summary of the operation * Number of notifications to be sent * To how many people was the notification sent successfully * For how many people it failed -
srivastavarobin revised this gist
Feb 13, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ #Doodly Doo Notification Server ##What does this server do? 1. Takes the kind of notification to send 1. Doodle World 2. Greetings 3. Emojis 4. Rage Face 2. Takes the message to send *(Note: Message should not contain hyphens (-))* 3. Connect to the MySQL server 4. Get the first 1000 records -
srivastavarobin created this gist
Feb 13, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,40 @@ #Doodly Doo Notification Server ##What does this server do? 1. Takes the kind of notification to send a. Doodle World b. Greetings c. Emojis d. Rage Face 2. Takes the message to send *(Note: Message should not contain hyphens (-))* 3. Connect to the MySQL server 4. Get the first 1000 records 5. Send the notification 6. Get the second batch and send the notification 7. Repeat 6 till the list is exhausted 8. Following is achieved a. Send push notifications b. Get the list of canonical IDs * Phone number * User ID * Old Push ID * New Push ID * Available as JSON with the date and time of its creation c. Get the list of IDs for which the push could not be send along with the reason * Phone number * User ID * Push ID * Reason d. Summary of the operation * Number of notifications to be sent * To how many people was the notification sent successfully * For how many people it failed * Total number of canonical IDs generated ##Node Modules being used Functionality | Module ------------- | ------- Express | [```express```](https://github.com/visionmedia/express) Guide available [here](http://expressjs.com/guide.html) Android Push Notification | [```node-gcm```](https://github.com/ToothlessGear/node-gcm) MySQL Connect | [```mysql```](https://github.com/felixge/node-mysql)