SWITR - simpler than twitter -- Backend part using nodejs, express, mongoDb and socket.io
Make sure you have npm and node installed in your machine
Navigate to the folder where you clone the project.
$ cd switr-backend
And then, you have to install all dependencies using npm
$ npm install
If you have MongoDB already in your computer. Run your mongoDb server
$ mongod
Default, your server will be running on /data/db, to check go to your terminal again and type:
$ mongo
$ show dbs
Finally, run node to run the server
$ node server.js
- Create Users collections with MongoDB