A simple Node.JS notification system that uses Socket.IO for real-time notifications. This also has a basic queueing system in place to display notifications one at a time.
-
Download the code.
-
Run
npm install
to install dependencies. -
In Server.js, update the MySQL connection details
-
In Server.js, update the basic auth user and pass
-
Import SQL file in to your MySQL database
-
In terminal, run 'npm start'
-
Visit
http://localhost:3000
to view the notification output -
Visit
http://localhost:3000/add
to add a notification