Create a Maven Project

In this example we will create an empty Maven Java Project. Install Dependencies Install JavaInstall MavenInstall IDE Eclipse Netbeans Intellij IDEA Create Maven Project Intellij IDE Step 1 Open Intellij IDE Step 2 Create New ProjectMavenleave Create from archetype uncheckedNext Step 3 GroupId: -e.g. com.skills421.trainingArtifactId: - e.g. MyProjectVersion: 1.0-SNAPSHOTNext Step 4 Project Name: - e.g. MyProjectProject... Continue Reading →

JavaScript: Variables (ES6)

Setup Project mkdir /Fundamentalscd Fundamentalsnpm init defaults npm install --save-dev babel-clinpm install --save-dev babel-preset-es2015 babel-preset-stage-2touch variables.jsatom . package.json { "name": "Fundamentals", "version": "1.0.0", "description": "", "main": "variables.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "nodemon variables.js --exec babel-node --presets es2015,stage-2" }, "author": "", "license": "ISC", "devDependencies": { } } [/code]... Continue Reading →

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>/helloworldcd helloworldnpm 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 bluebirdnpm install -g nodemonatom . Create server.js Create Model open Atomcreate folders  app app/model app/model/person.js Start MongoDB mongod Start the Server nodemon server.js Check the... Continue Reading →

NodeJS & MongoDB Development Environment

Atom IDE https://atom.io DownloadUnzip and drag to installation locationOpen AtomMenu Bar -> Atom -> Install Shell Commands Open a terminal sessionatom . (opens atom in the current working directory)Menu Bar -> Atom PreferencesInstall -> Search and click Packages to find and install atom-beautify atom-jade json-converter jsonlint linter language-babel pretty-json Node (manual) - not preferred https://nodejs.org... Continue Reading →

Up ↑

%d bloggers like this: