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
- Install MongoDB (Windows, Linux, MacOS)
- https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
- Install NodeJS
- https://nodejs.org/en/download/
#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
- Run MongoDB (Check how to, on the mongoDB website)
- Create a database called "database" in MongoDB, you can do this via the command line or a GUI (Robomongo): MongoDB tutorials: http://www.tutorialspoint.com/mongodb/index.htm
#Start the server
- With CMD, go to the folder where you have downloaded the server.js
- Execute the following command: node server.js