oteroleonardo / raphael-socket.io-express-mongoose

A cool demo web app to show Node.js, Raphaeljs, socket.io, Express.js, Mongoose and MongoDB integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork me at github

#raphael-socket.io-express-mongoose A demo web app to show [Node.js](http://nodejs.org/), [Raphael.js](http://raphaeljs.com/), [Socket.io](http://socket.io/), [Express.js](http://expressjs.com/), [Mongoose.js](http://mongoosejs.com/) and [MongoDB](http://www.mongodb.org/) integration

MongoDB is required

To properly run the web app you need to have MongoDB already installed in your System. The application assumes you are using the default MongoDB port 27017. In case you need to install MongoDB just follow the indications present in MongoDB installation

Git repository basic usage

To obtain a local copy of the master:

git clone https://github.com/oteroleonardo/raphael-socket.io-express-mongoose.git
cd raphael-socket.io-express-mongoose
cd MarsMission

Building the MarsMission web app

We first need to download project dependencies and then we'll be ready to start it:

npm update
node app.js

nodemon to the rescue

If you are like me you don't like to restart your node server each time there is a change in the source code and that's when nodemon comes to the rescue:

npm install nodemon -g

And then we could start the server as easy like sunday morning:

nodemon app.js [APP_PARAMS_HERE]

Mars mission map

Mars Map

About

A cool demo web app to show Node.js, Raphaeljs, socket.io, Express.js, Mongoose and MongoDB integration


Languages

Language:JavaScript 94.4%Language:CSS 5.6%