Total Pageviews

Monday 4 July 2016

前端开发者的nodejs教程


The Dead-Simple Step-by-Step Guide for Front-End Developers to Getting Up and Running with Node.JS, Express, Jade, and MongoDB

A tutorial and complete sample project for Front-End developers showing how to get Node, Express and Jade up and running, connected to MongoDB, and reading from / writing to the database.
New: Completely Updated for Express 4.0 based code, with Generator-Express Scaffolding

Quickstart

Visit the tutorial online. The rest of the project is provided just to show the functioning finished results. The tutorial will show you how to build all of this stuff, from downloading Node all the way to the end.
If you want to run this example code, you will need to do an NPM Install, as the node_modules directory has been removed from this repository.

Author

Christopher Buecheler is a front-end developer for a small San Francisco startup. Previously he's worked for companies like GameSpy, OkCupid, Crispy Gamer, and Comcast. You can visit him at his website.

Contents

  • /public - static directories suchs as /images
  • /routes - route files for tutorial project
  • /views - views for tutorial project
  • README.md - this file
  • app.js - central app file for tutorial project
  • package.json - package info for tutorial project.

from https://github.com/cwbuecheler/node-tutorial-for-frontend-devs