├── .gitignore
├── README
├── client.html
├── example.xml
├── package.json
└── server.js
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/README:
--------------------------------------------------------------------------------
1 | This is a simple example using nodejs to build a push notification server.
2 | You can read the tutorial on my blog http://www.gianlucaguarini.com/blog/?p=272
3 |
4 | Tested on node 0.12.0
5 |
6 | /**
7 | *
8 | * Version: 1.0.0
9 | * Author: Gianluca Guarini
10 | * Contact: gianluca.guarini@gmail.com
11 | * Website: http://www.gianlucaguarini.com/
12 | * Twitter: @gianlucaguarini
13 | *
14 | * Copyright (c) Gianluca Guarini
15 | *
16 | * Permission is hereby granted, free of charge, to any person
17 | * obtaining a copy of this software and associated documentation
18 | * files (the "Software"), to deal in the Software without
19 | * restriction, including without limitation the rights to use,
20 | * copy, modify, merge, publish, distribute, sublicense, and/or sell
21 | * copies of the Software, and to permit persons to whom the
22 | * Software is furnished to do so, subject to the following
23 | * conditions:
24 | *
25 | * The above copyright notice and this permission notice shall be
26 | * included in all copies or substantial portions of the Software.
27 | *
28 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
30 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
32 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
33 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
34 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
35 | * OTHER DEALINGS IN THE SOFTWARE.
36 | **/
37 |
--------------------------------------------------------------------------------
/client.html:
--------------------------------------------------------------------------------
1 |
2 |