Introduction
This documentation contains some help to examples from node-examples repository is contains some node.js playground projects
1. node.js example
2. node.js basics
build
yarn -i yarn build
01-first-app
yarn first-app
02-modules-app
yarn modules-app
03-render-html-app
yarn render-html-app
04-routing-pages-app
yarn routing-pages-app
05-routing-combine-app
yarn routing-combine-app
06-express
yarn express-app
07-express-handlebars
yarn express-handlebars-app
08-express-get-and-post
yarn express-get-and-post-app
09-sessions-and-validation
yarn sessions-and-validation-app
10-mongo - plain mongodb driver api
cd 10-mongo yarn start open http://localhost:3010/ # ctrl+c yarn stop
11-monk - easiest mongodb driver
cd 11-monk yarn start open http://localhost:3011/ # ctrl+c yarn stop
12-mongoose - mongodb ORM with schema
cd 12-mongoose yarn start open http://localhost:3012/ # ctrl+c yarn stop
3. node.js express coffee-script
coffee express.js example
yarn start open http://localhost:3000