GithubHelp home page GithubHelp logo

flatlogic / dashboard Goto Github PK

View Code? Open in Web Editor NEW
17.0 5.0 13.0 23.49 MB

Home Page: http://flatlogic.github.io/dashboard/#/app/dashboard

License: Apache License 2.0

JavaScript 66.63% CSS 15.87% HTML 16.78% Nginx 0.72%

dashboard's Introduction

dashboard

Circle CI

Run

  1. Install node and bower dependencies: npm install
  2. Run local server node server/index.js
  3. Run the application: gulp serve
  4. go to http://localhost:3000

Build

  1. Install node and bower dependencies: npm install && bower install
  2. Run the application: gulp build
  3. Upload dist content to the server

Deploy to the gh-pages branch

  1. Install node and bower dependencies: npm install
  2. Run the application: gulp build
  3. Run the application gulp deploy
  4. Sync local gh-pages branch with remote origin

Testing

  1. Install node and bower dependencies: npm install
  2. Install global dependencies npm install istanbul karma-coverage karma-chrome-launcher karma-jasmine -g
  3. Run tests karma start

Project 1 - Improve on this app template

We want to add some features.

  • Use a live authentication service (we provide REST api) - store an auth token from server (a JWT token -- see [http://jwt.io/] ) in a browser cache
  • Add some example code to include the token as HTTPS header when calling a backend service.
  • Implement timer based on the token's expiration and logout the user.
  • Make the Sing app template capability-driven: the auth token from the auth service contains different permission strings. Add support for this at the app/ framework level so that the dashboard will render only components permitted according.
    • Map permission strings (e.g. 'update_account') to Angular controls (e.g. EditAccountWizard) - 1 to many relationship
    • Render components based on the user's permissions
  • Make the view/dashboard.html data driven -- instead of layout of widgets in static html, call a server to load a JSON (your design) that will driven the generation of the contents of the dashboard html. What components will finally render will be controlled by this user's permissions.
  • Make some of the dashboard example widgets driven by websocket. We would like to have live data feeds to the dashboard instead of having the UI poll the server. Please come up with a basic framework and example for doing this.

Project 2 - A user/ account management dashboard

Building on the framework of Project 1

  • Given a REST backend for authentication and account management, build 3-4 screens / modules for
    • creating new account
    • updating new account (via wizard)
    • listing all accounts (dynamic table)
  • Rendering of the UI components will be permission-based as described in Project 1.
  • We will iterate on the forms. Please provide UX/ UI advice for best interaction and visual design.

Network structure

For reference:

private cloud -> availability zone -> subnets -> security group -> hosts -> services -> containers

dashboard's People

Contributors

agrishun avatar dimasavchenko avatar gaykov avatar haikov avatar micrum avatar okendoken avatar shoudaos avatar sterlingw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.