Code Monkey home page Code Monkey logo

angular1-template's Introduction

Angular Template (w/h browserify, saas->css->minified css)

This is AngularJS (v 1.0) based development ready template to build awesome web-apps in Angular. This template has features like => - Browserify module to bundle all js files (minmizing network requests). - Uglify module to minify and uglify js files. - CleanCSS module to minify css files. - Saas Module to convert saas/scss code to css code.

Getting Started

Once you have downloaded code and extracted in a folder, run "npm install" from cmd/terminal to install all the npm packages & dependencies.

Prerequisites

Things you need to install before you start development

	1. NodeJS (> v4.4) https://nodejs.org/en/download/
	2. Gulp installed globally (npm install -g gulp)

Installing

Once prerequists are installed, run "npm install" command, then you need to run gulp to start/setup development environment, in "dist" folder Use "Ctrl + C" to stop and quit development server anytime.

$> npm install
$> gulp

Run "gulp build" to create production build under "prod" folder

$> gulp build

Coding Standards

- View the samples for writing controllers, services and directives as given.
- Use of tabs for indentation & not spaces (Tab size: 2).
- Use config file to keep all dynamic/server related information.
- Indentation with tabs.
- No whitespace at the end of line or on blank lines.
- Lines should usually be no longer than 80 characters, and should not exceed 100 (counting tabs as 4 spaces). This is a “soft” rule, but long lines generally indicate unreadable or disorganized code.
- There should be a new line at the end of each file.
- For more: 
	js Standards - http://javascript.crockford.com/code.html, https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/
	HTML - http://www.w3schools.com/html/html5_syntax.asp, http://codeguide.co/
	CSS - https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/

Running the tests

Coming Soon

angular1-template's People

Contributors

hrishiv90 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.