From 46092dd1d26ff1f6cd57db8d9b28ba2b100fff18 Mon Sep 17 00:00:00 2001 From: Michael Cole Date: Mon, 12 May 2014 22:24:14 -0500 Subject: [PATCH 1/3] Reformat and bootstrappify the client home view. --- .../controllers/home.client.controller.js | 7 +- .../modules/core/views/home.client.view.html | 86 ++++++++++++------- 2 files changed, 62 insertions(+), 31 deletions(-) diff --git a/public/modules/core/controllers/home.client.controller.js b/public/modules/core/controllers/home.client.controller.js index 7c5edf38..db382349 100644 --- a/public/modules/core/controllers/home.client.controller.js +++ b/public/modules/core/controllers/home.client.controller.js @@ -1,5 +1,8 @@ 'use strict'; -angular.module('core').controller('HomeController', ['$scope', 'Authentication', function ($scope, Authentication) { +angular.module('core') + .controller('HomeController', ['$scope', 'Authentication', function ($scope, Authentication) { + // This provides Authentication context. + // see /public/modules/users/services/authentication.client.service.js $scope.authentication = Authentication; -}]); \ No newline at end of file + }]); \ No newline at end of file diff --git a/public/modules/core/views/home.client.view.html b/public/modules/core/views/home.client.view.html index ace41b01..33229a04 100644 --- a/public/modules/core/views/home.client.view.html +++ b/public/modules/core/views/home.client.view.html @@ -1,32 +1,60 @@
-

THANK YOU FOR DOWNLOADING MEAN.JS

-
+ +
+
+
+
+

+ That's some
140x140 +

+

+ Open-Source Full-Stack Solution For MEAN Applications +

+

+ Learn more +

+
+
+
+

Congrats, you've configured and run the sample application.

+

MEAN.JS is a web application boilerplate. That means start changing everything. Here's some docs to get your started.

+
+
+

MongoDB

+

MongoDB is a database. MongoDB's great manual, to get started with NoSQL and MongoDB.

+
+
+

Express

+

Express is an app server. Check out The Express Guide or StackOverflow for more info.

+
+
+

AngularJS

+

AngularJS is web app framework. Angular's webiste offers alot. The Thinkster Popular Guide and Egghead Videos are great resources.

+
+
+

Node.js

+

Node.js is a web server. Node's website and this stackOverflow thread, are great resources.

+
+
+
+
+

MEAN.JS Documentation

- Before you begin we recommend you read about the basic building blocks that assemble a MEAN.JS application: + Once you're familiar with the foundation technology, check out the MEAN.JS Documentation: +

-
-
MongoDB
-
- Go through MongoDB Official Website and proceed to its Great Manual, which should help you understand NoSQL and MongoDB better. -
-
Express
-
- The best way to understand Express is through its Official Website, particularly The Express Guide; you can also go through this StackOverflow Thread for more resources. -
-
AngularJS
-
- Angular's Official Website is a great starting point. You can also use Thinkster Popular Guide, and the Egghead Videos. -
-
Node.js
-
- Start by going through Node.js Official Website and this StackOverflow Thread, which should get you going with the Node.js platform in no time. -
-
-

- When you're done with those resources and feel you understand the basic principles continue to the MEAN.JS Documentation. -

-
-
Enjoy & Keep Us Updated, -
The MEAN.JS Team. -
-
\ No newline at end of file + +
Enjoy & Keep Us Updated, +
The MEAN.JS Team. +
+
+
+ + From 57f1e242fc6fd48a11ae99807b7494810dbdb6f6 Mon Sep 17 00:00:00 2001 From: Michael Cole Date: Mon, 12 May 2014 22:36:14 -0500 Subject: [PATCH 2/3] Add a little info about the sample app --- public/modules/core/views/home.client.view.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/modules/core/views/home.client.view.html b/public/modules/core/views/home.client.view.html index 33229a04..ff43e728 100644 --- a/public/modules/core/views/home.client.view.html +++ b/public/modules/core/views/home.client.view.html @@ -16,8 +16,9 @@ -

Congrats, you've configured and run the sample application.

-

MEAN.JS is a web application boilerplate. That means start changing everything. Here's some docs to get your started.

+

Congrats! You've configured and run the sample application.

+

MEAN.JS is a web application boilerplate. That means start changing everything :-)

+

This sample application tracks users and articles. Click Signup to get started. To configure your app to work with your social accounts, edit the /config/strategies/*.js files.

MongoDB

From 66bf2dca4c515a0b20e2c80f7cbd5c85af3abb9a Mon Sep 17 00:00:00 2001 From: Michael Cole Date: Wed, 14 May 2014 07:08:08 -0500 Subject: [PATCH 3/3] Typo in test message: --- app/tests/user.server.model.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/user.server.model.test.js b/app/tests/user.server.model.test.js index d76bafe5..7369d414 100644 --- a/app/tests/user.server.model.test.js +++ b/app/tests/user.server.model.test.js @@ -47,7 +47,7 @@ describe('User Model Unit Tests:', function() { }); }); - it('should be able to save whithout problems', function(done) { + it('should be able to save without problems', function(done) { user.save(done); });