Node.js

MEAN Links

JavaScript W3 Schools – JavaScript https://www.w3schools.com/js/default.asp Mozilla Developer Network – JavaScript https://developer.mozilla.org/en-US/docs/Web/JavaScript ECMA https://www.ecma-international.org ECMAScript https://www.ecma-international.org/memento/TC39.htm ECMAScript6 (ES6) http://es6-features.org/#Constants Exploring ES6 http://exploringjs.com/es6.html Exploring JavaScript http://exploringjs.com Node Node.js https://nodejs.org/en/ Express.js http://expressjs.com Mongoose http://mongoosejs.com MongoDB MongoDB https://www.mongodb.com

NodeJS & MongoDB – create simple API

Setup Project mkdir <projectdir>/helloworld cd helloworld npm init name: version: description: Hello World API entry point: server.js test command: git repository: keywords: author: John Dunning license: npm install –save express body-parser mongoose bluebird npm install -g nodemon atom . Create server.js Create Model open Atom create folders  app app/model app/model/person.js Start MongoDB mongod Start the …

NodeJS & MongoDB – create simple API Read More »

NodeJS & MongoDB Development Environment

Atom IDE https://atom.io Download Unzip and drag to installation location Open Atom Menu Bar -> Atom -> Install Shell Commands Open a terminal session atom . (opens atom in the current working directory) Menu Bar -> Atom Preferences Install -> Search and click Packages to find and install atom-beautify atom-jade json-converter jsonlint linter language-babel pretty-json …

NodeJS & MongoDB Development Environment Read More »