#Doodly Doo Notification Server ##What does this server do?
- Takes the kind of notification to send
- Doodle World
- Greetings
- Emojis
- Rage Face
- Takes the message to send (Note: Message should not contain hyphens (-))
- Connect to the MySQL server
- Get the first 1000 records
- Send the notification
- Get the second batch and send the notification
- Repeat 6 till the list is exhausted
- 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 |