apattath / nodetest2

second node.js sample reading values from a MongoDB database and using jade templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This sample is taken from http://cwbuecheler.com/web/tutorials/2014/restful-web-app-node-express-mongodb/ It uses node.js, with mongoDB and jade templates to create an interactive single page web application. It uses Monk APIs to interact with the backend MongoDB Database.

For this project to run successfully,

  1. MongoDB service has to be running on 27017 port (start service by using mongod)
  2. app server has to be running (start server by running 'npm start' from project directory)
  3. To access the app from the browser, browse to http://localhost:3000

For future references:

  1. client side stuff is under views*, public\javascripts*
  2. Server side stuff (.\app.js, routes\users.js, routes\index.js)

About

second node.js sample reading values from a MongoDB database and using jade templates


Languages

Language:JavaScript 82.0%Language:HTML 11.4%Language:CSS 6.6%