Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 692 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 692 Bytes

switr-backend

SWITR - simpler than twitter -- Backend part using nodejs, express, mongoDb and socket.io

Run it in your local

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

Todos

  • Create Users collections with MongoDB