/NodeJs-Websockets-SocketIO-MongoDB-Webservices

NodeJS, Websockets (socket.io), Mongodb as Webservices

Primary LanguageJavaScript

NodeJS Websockets(socket.io) Mongodb together as Webservices

NodeJS, Websockets(socket.io), Mongodb for creating Webservices.

This project combines several techniques to provide very nice and scalable webservices based on websockets! The database implementation is MongoDB. And the backend is NodeJS.

In the future I will be supplying this as a free webservice, which can be used by anyone from anywhere!

#Install Mongo & NodeJS

#Download server.js

  • Download server.js from Github.

#Install node dependencies In the folder where you downloaded server.js from Github, run:

  • npm install mongodb
  • npm install socket.io

#Run MongoDB & Create database

#Start the server

  • With CMD, go to the folder where you have downloaded the server.js
  • Execute the following command: node server.js