dianad96 / NodeJs-Server

NodeJs Server for UCLActive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJs-Server

Node Server for UCLActive.

Installation

Set up

  • Clone this repo
  • You may want to change the **** from the app.js to your real username and password
  • In your project folder
$ npm update -g express
$ npm update -g express-generator
$ npm install babyparse
$ npm install fs
$ npm install util
$ npm install stream
$ npm install event-stream
$ express nodetest2
  • In the nodetest2 folder
$ npm install
$ mkdir data
  • In you mongo bin folder
$ mongod --dbpath <path to your project>
$ mongo
  • In your mongo console
$ use nodetest2

Start the server

  • Back to your project folder
$ npm start

For a complete documentation of how to set up please see this article

About

NodeJs Server for UCLActive


Languages

Language:JavaScript 94.9%Language:HTML 4.8%Language:CSS 0.3%