-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
155 changed files
with
2,288 additions
and
834 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
FROM ubuntu:latest | ||
MAINTAINER GreenPioneer | ||
# Install Utilities | ||
RUN apt-get update -q | ||
# RUN apt-get install -yqq wget aptitude htop vim git traceroute dnsutils curl ssh sudo tree tcpdump nano psmisc gcc make build-essential libfreetype6 libfontconfig libkrb5-dev | ||
RUN apt-get install -yqq wget vim git curl ssh build-essential | ||
|
||
# Install NodeJS | ||
RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | ||
RUN sudo apt-get install -yq nodejs | ||
|
||
# Install Meanstackjs Prerequisites | ||
RUN npm install --quiet -g bower mocha pm2 mongo-express nodemon node-inspector | ||
|
||
RUN mkdir /opt/meanstackjs | ||
WORKDIR /opt/meanstackjs | ||
|
||
# Copies the local package.json file to the container | ||
# and utilities docker container cache to not needing to rebuild | ||
# and install node_modules/ everytime we build the docker, but only | ||
# when the local package.json file changes. | ||
# Install npm packages | ||
ADD package.json /opt/meanstackjs/package.json | ||
RUN npm install --quiet | ||
|
||
# Install bower packages | ||
ADD bower.json /opt/meanstackjs/bower.json | ||
ADD .bowerrc /opt/meanstackjs/.bowerrc | ||
RUN bower install --quiet --allow-root --config.interactive=false | ||
|
||
# Share local directory on the docker container | ||
ADD . /opt/meanstackjs | ||
|
||
# Machine cleanup | ||
RUN npm cache clean | ||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# Set development environment as default | ||
ENV NODE_ENV development | ||
|
||
# Ports generic | ||
EXPOSE 80:80 | ||
EXPOSE 443:443 | ||
|
||
# Port 3000 for Meanstackjs server | ||
EXPOSE 3000:3000 | ||
|
||
# Port 5858 for node debug | ||
EXPOSE 5858:5858 | ||
|
||
# Port 35729 for livereload | ||
EXPOSE 35729:35729 | ||
|
||
# Run Meanstackjs server | ||
CMD ["npm", "start"] |
0
LICENSE → LICENSE.md
100644 → 100755
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: npm start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,112 +1,128 @@ | ||
|
||
[](https://david-dm.org/greenpioneersolutions/meanstackjs) | ||
[](https://github.com/greenpioneersolutions/meanstackjs/issues) | ||
[](https://david-dm.org/greenpioneersolutions/meanstackjs) | ||
[](https://github.com/greenpioneersolutions/meanstackjs/issues) | ||
[](http://standardjs.com/) | ||
[](https://travis-ci.org/greenpioneersolutions/meanstackjs-lite) | ||
[](https://travis-ci.org/greenpioneersolutions/meanstackjs) | ||
[](https://gitter.im/greenpioneersolutions/meanstackjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[](https://snyk.io/test/github/greenpioneersolutions/meanstackjs/badge.svg) | ||
[](https://www.codewake.com/p/meanstackjs) | ||
[](https://www.codetriage.com/greenpioneersolutions/meanstackjs) | ||
[](https://www.codementor.io/jasonhumphrey?utm_source=github&utm_medium=button&utm_term=jasonhumphrey&utm_campaign=github) | ||
[](https://paypal.me/greenpioneer) | ||
|
||
[](http://meanstackjs.com/) | ||
|
||
Mean Stack JS Lite | ||
----------------- | ||
This is the lite version of [MeanStackJS](https://github.com/greenpioneersolutions/meanstackjs). It was built to help beginners to full stack and the mean stack really take off with there learning. One major difference between the two is that the lite version pulls the core logic into the server file and hard codes everything. This way when new people start looking around trying to figure everything out everything is there for them to find. We notice with being so dynamic in the full version sometime people just naturally get lost in the flow of how it all comes together. This is our solution to that with the Mean Stack JS - Lite | ||
|
||
#[Check Documentation Here](https://github.com/greenpioneersolutions/meanstackjs/wiki) | ||
|
||
Why Mean Stack JS | ||
Why Mean-Lite Stack JS | ||
----------------- | ||
|
||
Do you need a full stack solution that is easy to build and all javascript? Then you're in the right place with Mean Stack JS. There is no steep learning curve and it only takes an average of 10 minutes to get your base code up and running. We've made the development process as simple and scalable as possible. This is perfect for anyone involved in software development, including User Experience Designers, Quality Assurance Engineers, Software Engineers, Frontend Developers, Backend Developers and Full Stack Engineers. | ||
The best developers want to be efficient and productive, quickly prototyping and experimenting, able to build successes into production-ready applications. We believe Mean Stack JS gives developers of all skill levels—whether at enterprise scale or working solo—an ideal open-source toolset for building rapid, scalable Javascript applications. We'll provide you a simple project structure that is versatile enough to quickly apply to your own development projects. Want to get started? | ||
|
||
|
||
How to Learn Mean Stack JS | ||
How to Learn Mean-Lite Stack JS | ||
----------------- | ||
Start learning with documentation: | ||
* [Check Documentation Here](https://github.com/greenpioneersolutions/meanstackjs/wiki) | ||
|
||
Start visualizing what the meanstack can do for you with our demo | ||
* [Check Demo Here](https://meanstackjs.herokuapp.com/) | ||
|
||
Check out this YouTube channel that has content to help you: | ||
* [Subscribe to our Youtube Channel - MeanStackJs](https://www.youtube.com/channel/UC5lpSv5tNowgWxC9crTl97g) | ||
* [Watch MeanStackJs - How to series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdqgwW6U39s_oMAehgtXa15O) | ||
* [Watch MeanStackJs - Error series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdr19ha6bx7jt6Bu2RCM5c5_) | ||
* [Watch MeanStackJS - Releases](https://www.youtube.com/playlist?list=PLhJ-Q2setTdrhK1m0F1lUfZsIzBbw6wny) | ||
* [Watch MeanStackJS - How to series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdqgwW6U39s_oMAehgtXa15O) | ||
* [Watch MeanStackJS - Error series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdr19ha6bx7jt6Bu2RCM5c5_) | ||
* [Watch MeanStackJS - What is series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdpkHfA-mDMSjl4Wv-trKlY8) | ||
|
||
For the full version, start here instead: | ||
* [MeanStackJS](https://github.com/greenpioneersolutions/meanstackjs) | ||
* [Full Version](https://github.com/greenpioneersolutions/meanstackjs) | ||
|
||
For the Api version, start here instead: | ||
* [Men Version](https://github.com/greenpioneersolutions/menstackjs) | ||
|
||
Want more content? | ||
* [LiveCoding.TV](https://www.livecoding.tv/greenpioneer/) | ||
* [Style Guide](https://github.com/greenpioneersolutions/gps-style-guide) | ||
* [GPS Style Guide](https://github.com/greenpioneersolutions/gps-style-guide) | ||
* [GPS Setup Guide](https://github.com/greenpioneersolutions/gps-setup-guide) | ||
* [Roadmap](https://github.com/greenpioneersolutions/meanstackjs/wiki/Roadmap) | ||
|
||
|
||
What is Mean Stack JS Lite ? | ||
What is Mean-Lite Stack JS? | ||
----------------- | ||
|
||
This repo is a stripped down version of the main meanstackjs. This repo will be great for you if you want to totally control every last part of your stack. This repo will also be for the purpose of teaching or if you want just the base functionally. Please refer to all live documentation back at [MeanStackJS](https://github.com/greenpioneersolutions/meanstackjs/wiki) | ||
- [MongoDB](https://www.mongodb.org/) - MongoDB is the leading NoSQL database, empowering businesses to be more agile and scalable | ||
- [Express](http://expressjs.com/) - Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications | ||
- [AngularJS](https://angularjs.org/) - based framework. -AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop | ||
- [Node.js](http://www.nodejs.org/) - Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications | ||
|
||
Stack | ||
- [MongoDB](https://www.mongodb.org/) - MongoDB is the leading NoSQL database, empowering businesses to be more agile and scalable. | ||
- [Express](http://expressjs.com/) - Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications. | ||
- [AngularJS](https://angularjs.org/) - based framework. -AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop. | ||
- [Node.js](http://www.nodejs.org/) - Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. | ||
[Check Demo Here](https://meanstackjs.herokuapp.com/) | ||
|
||
[Check Documentation Here](https://github.com/greenpioneersolutions/meanstackjs/wiki) | ||
|
||
Prerequisites | ||
Pre-Requisites | ||
------------- | ||
|
||
- <img src="https://www.mongodb.com/assets/global/favicon-bf23af61025ab0705dc84c3315c67e402d30ed0cba66caff15de0d57974d58ff.ico" height="17"> [Download](https://www.mongodb.org/downloads) and Install mongodb - <a href="https://docs.mongodb.org/manual/">Checkout their manual</a> if you're just starting. | ||
- <img src="https://www.mongodb.com/assets/global/favicon-bf23af61025ab0705dc84c3315c67e402d30ed0cba66caff15de0d57974d58ff.ico" height="17"> [Download](https://www.mongodb.org/downloads) and Install mongodb - <a href="https://docs.mongodb.org/manual/">Checkout their manual</a> if you're just starting | ||
- <img src="http://deluge-torrent.org/images/apple-logo.gif" height="17"> [OSX MongoDB](https://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/) | ||
- <img src="http://dc942d419843af05523b-ff74ae13537a01be6cfec5927837dcfe.r14.cf1.rackcdn.com/wp-content/uploads/windows-8-50x50.jpg" height="17"> [Windows Mongodb](https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/) | ||
- <img src="https://lh5.googleusercontent.com/-2YS1ceHWyys/AAAAAAAAAAI/AAAAAAAAAAc/0LCb_tsTvmU/s46-c-k/photo.jpg" height="17"> [Linux Mongodb](https://docs.mongodb.org/manual/administration/install-on-linux/) | ||
- <img src="https://nodejs.org/static/apple-touch-icon.png" height="17"> [Download](http://nodejs.org) and Install Node.js - nodeschool has free <a href=" http://nodeschool.io/#workshoppers">node tutorials</a> to get you started. | ||
|
||
- <img src="http://bower.io/img/bower-logo.png" height="17"> [Install Bower](http://bower.io/) | ||
```bash | ||
$ npm install -g bower | ||
``` | ||
|
||
**Note:** If you are new to Node or Express, we recommend to watch | ||
[Node.js and Express 101](https://www.youtube.com/watch?v=BN0JlMZCtNU) | ||
screencast by Alex Ford that teaches Node and Express from scratch. Alternatively, | ||
here is another great tutorial for complete beginners - [Getting Started With Node.js, Express, MongoDB](http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/). | ||
- <img src="https://nodejs.org/static/apple-touch-icon.png" height="17"> [Download](http://nodejs.org) and Install Node.js - nodeschool has free <a href=" http://nodeschool.io/#workshoppers">node tutorials</a> to get you started | ||
|
||
[Check Documentation Here](https://github.com/greenpioneersolutions/meanstackjs/wiki) | ||
|
||
[Check Demo Here](https://meanstackjs.herokuapp.com/) | ||
|
||
Getting Started | ||
--------------- | ||
|
||
The easiest way to get started is to clone the repository: | ||
|
||
```bash | ||
# Get the latest snapshot | ||
git clone https://github.com/greenpioneersolutions/meanstackjs-lite.git | ||
git clone https://github.com/greenpioneersolutions/meanstackjs.git | ||
|
||
# Change directory | ||
cd meanstackjs-lite | ||
cd meanstackjs | ||
|
||
# Install NPM dependencies | ||
npm install | ||
|
||
# Start up the server | ||
npm start | ||
# or | ||
node server.js | ||
# or | ||
nodemon server.js | ||
node server.mean.js | ||
``` | ||
|
||
**Note:** We highly recommend installing [Nodemon](https://github.com/remy/nodemon). | ||
It watches for any changes in your node.js app and automatically restarts the | ||
server. Once installed, instead of `node index.js` use `nodemon index.js`. It will | ||
save you a lot of time in the long run, because you won't need to manually | ||
restart the server each time you make a small change in code. To install, run | ||
`sudo npm install -g nodemon`. | ||
|
||
[Check Documentation Here](https://github.com/greenpioneersolutions/meanstackjs/wiki) | ||
|
||
[Check Demo Here](https://meanstackjs.herokuapp.com/) | ||
|
||
[Check Roadmap Here](https://github.com/greenpioneersolutions/meanstackjs/wiki/Roadmap) | ||
|
||
[express]: <http://expressjs.com> | ||
[AngularJS]: <http://angularjs.org> | ||
[node.js]: <http://nodejs.org> | ||
[license]: http://showalicense.com/?fullname=Green%20Pioneer%20%3Cgreen%40greenpioneersolutions.com%3E&year=2016#license-mit | ||
[website]: http://greenpioneersolutions.com/ | ||
|
||
|
||
<div align="center"> | ||
<img src="http://greenpioneersolutions.com/img/icons/apple-icon-180x180.png"><br> | ||
<a href="https://www.facebook.com/Green-Pioneer-Solutions-1023752974341910"> | ||
<img src="https://greenpioneer.github.io/images/social-1_square-facebook.svg"> | ||
</a> | ||
<a href="https://twitter.com/greenpioneerdev"> | ||
<img src="https://greenpioneer.github.io/images/social-1_logo-twitter.svg"> | ||
</a> | ||
<a href="https://github.com/greenpioneersolutions"> | ||
<img src="https://greenpioneer.github.io/images/social-1_logo-github.svg"> | ||
</a> | ||
<a href="http://greenpioneersolutions.com/"> | ||
<img src="https://greenpioneer.github.io/images/social-1_logo-blogger.svg"> | ||
</a> | ||
</div> | ||
|
||
|
||
[MIT][license] © [Green Pioneer][website] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h4>Errors</h4> | ||
</div> | ||
<div class="panel-body" style="overflow: scroll;width: 99%;"> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th>#</th> | ||
<th>Message</th> | ||
<th>Name</th> | ||
<th>Code</th> | ||
<th>Stack</th> | ||
<th>Type</th> | ||
<th>Count</th> | ||
<th>History</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr ng-repeat="(key, value) in vm.errors track by $index"> | ||
<th scope="row">{{$index + 1}}</th> | ||
<td> | ||
<span>{{value.message}}</span> | ||
</td> | ||
<td> | ||
<span>{{value.name}}</span> | ||
</td> | ||
<td> | ||
<span>{{value.code}}</span> | ||
</td> | ||
<td> | ||
<pre>{{value.stack}}</pre> | ||
</td> | ||
<td> | ||
<span>{{value.type}}</span> | ||
</td> | ||
<td> | ||
<span>{{value.count}}</span> | ||
</td> | ||
<td> | ||
<div ng-repeat="history in value.history track by $index">{{history}}</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.