hello :)
Website live pages:
- http://54.69.62.47:8000/
- http://54.69.62.47:8000/test/show
- Log into EC2 to see the console output when you test this page
- http://54.69.62.47:8000/test/show-all
- This returns a JSON formatted text wall
- http://54.69.62.47:8000/test/new
- Sample form using rest-new.hbs, and partials footer.html, header.html
- Submitting should call route '/insert_user', but we don't do restaurants so it returns 404
- format
- me
- pretty
- please
- Anatomy of an HTTP Transaction - https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/
- Using express, handlebars, and mongoDB - https://sites.google.com/site/redmahbub/development/hbs-mongo-with-express4
- mongoDB - https://docs.mongodb.com/manual/introduction/
- mongoDB Node.js driver quick reference - http://mongodb.github.io/node-mongodb-native/2.2/
- mongoDB Node.js driver API - http://mongodb.github.io/node-mongodb-native/2.2/api/
Package | Description | Documentation |
---|---|---|
Bluebird | Full feature promise library with ES6 support | www.http://bluebirdjs.com/docs/ |
body-parser | Parse incoming request bodies in a middleware before your handlers, availabe under the req.body property |
www.ewiggin.gitbooks.io/expressjs-middleware/content/body-parser.html |
bootstrap | HTML, CSS, and JS framework for developing responsive, mobile first projects on the web | www.http://getbootstrap.com/getting-started/ |
cookie-parser | Parse Cookie header and populate req.cookies with an object keyed by the cookie names. Optionally you may enable signed cookie support by passing a secret string, which assigns req.secret so it may be used by other middleware |
www.github.com/expressjs/cookie-parser |
debug | tiny node.js debugging utility modelled after node core's debugging technique | www.npmjs.com/package/debug |
express | Web framework for Node.js | www.expressjs.com |
forever | Tool used to ensure a node script runs uninterrupted | www.npmjs.com/package/forever |
jquery | jQuery is a fast, small, and feature-rich JavaScript library | http://api.jquery.com/ |
hbs | HTML semantic template builder | www.handlebarsjs.com |
mongodb | official MongoDB driver for Node.js, needed for mongoose | www.docs.mongodb.com/getting-started/node/client/ |
mongoose | An object modeling tool used with mongoDB designed to work in an asynchronous environment | www.mongoosejs.com/docs/guide.html |
morgan | HTTP request logger middleware for node.js | www.npmjs.com/package/morgan |
request | Wrapper to use basica HTTP request functions | www.npmjs.com/package/request#http-authentication |
serve-favicon | favicon serving middleware with caching | www.npmjs.com/package/serve-favicon |
X-editable | Libray for inline editing | https://vitalets.github.io/x-editable/ |