Skip to content

Instantly share code, notes, and snippets.

@srivastavarobin
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save srivastavarobin/8982444 to your computer and use it in GitHub Desktop.

Select an option

Save srivastavarobin/8982444 to your computer and use it in GitHub Desktop.
Doodly Doo notification server readme

#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 Guide available here
Android Push Notification node-gcm
MySQL Connect mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment