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 Mozilla Developer Network - JavaScript ECMA ECMAScript ECMAScript6 (ES6) Exploring ES6 Exploring JavaScript Node Node.js Express.js Mongoose MongoDB MongoDB

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 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 Continue Reading →

Up ↑

%d bloggers like this: