GithubHelp home page GithubHelp logo

node9909 / ki-dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tikalk/ki-dashboard

0.0 1.0 0.0 896 KB

Js Fullstack Dashboard Modularized app boilerplate - expressjs, angular, bootstrap, gulp.

JavaScript 43.65% CSS 4.75% HTML 51.60%

ki-dashboard's Introduction

Ki

Ki-dashboard (pronounced - "Chi") is a fork of angular-fullstack yeoman generators.
Its has few adjusments:

  1. it is integrated with bootstrap admin 2 dashboard
  2. it is integrated with ui-router for angular
  3. its task automation system is gulp
  4. It uses simple scaffolding with gulp-dogen tool - so you can update & add any scaffold templates relevant to your project right inside the 'gulp' directory (it means - no need for yeoman)
  5. client & server are decoupled
    • Eventualy - this repo should include web-components (directives in angular) to create the various widgets available through the bootstrap admin 2 dashboard template

Code Styleguides

use the built-in gulp dogen cli to scaffold modules in server & client

AngularJs Code Styleguides

  1. Following the angularjs blog post, follow these Best Practices Recommendations by the angular team
  2. angularjs development style guide
  3. angularjs style guide for teams (with a slight diverses in app structure)

Javascript Code Styleguide

  1. js code styleguide should follow google's js code styleguide
  2. nodejs code stytelguide should follow the common best practices of nodejs styleguide

Javascript Linter

  1. using jshint as global nodejs service: npm install -g jshint
  2. The project follows '.jshintrc' as the best practices of node.js styleguide
  3. Instructions for setting jshint with sublime linter plugin for sublimetext

Prerequisites

  1. Install NodeJS - http://nodejs.org/ or via command line
  2. Gulpjs: npm install -g gulp
  3. Bower: npm install -g bower
  4. Phantomjs (client testing): npm install phantomjs
  5. Karma (client test runner): npm install -g karma
  6. for Node Debugging using node inspector: npm install -g node-inspector (? install less npm install -g less)

Steps to run the app

  • Run npm to install dependencies npm install
  • Build project (will run bower install, compile less and concat js) gulp build
  • Run the app gulp

Open http://localhost:8080

Other available operations

  • Test project gulp test
  • Create distribution zip gulp dist

Development environment

Automation

dev-mode

Process code, raising the server and then activating the project watcher (client side)
gulp
The project is available at http://localhost:8080.

Debug Node.js

you should run this after running dev-mode:
node-inspector --web-port=8081
open in chrome http://127.0.0.1:8081/debug?port=5858 Please note that you must invoke the build command before invoking dev-mode (one time only). gulp build

Git & Github Guidelines

The guideline is to work in a feature branch flow as described well in Github's Scott's blog post

Naming Convention for Feature Branch

Each feature branch should be named with a prefix of "feature-", so that the automation won't run any tests, build etc.. on these branches.

i.e., a branch for feature of date picker should be named: feature-guitars-store

based on angular fullstack yeoman generator

ki-dashboard's People

Contributors

orizens avatar nbiton avatar

Watchers

James Cloos 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.