Giter VIP home page Giter VIP logo

riotjs-admin's Introduction

Riot.js demo application

This is a demo single-page demo application made with Riot.js. It's a generic skeleton for an administration panel that shows the core concepts of modular client side development.

Features

  • actually something useful, just fork it and extend it to your needs
  • plain and minimal UI
  • authentication and session management
  • small: ~10kb minified, including Riot (4kb gzipped)
  • optional caching of server side requests

Modular architecture

  • one global variable admin to build modules
  • modules can be included in no specific order (*.js)
  • modules can be renamed/removed/modified on without breaking the app
  • backend agnostic
  • easy to maintain and extend, good for multiple developers

Extendable

  • Real API: try for example admin().load("customers") on console
  • Promise based server calls for more fluent error handling
  • Use app name to extend instead of a framework name: admin(callback)

Planned

  • real backend (firebase, hosted server, to be decided...)
  • realtime channel
  • tests for both UI and API layer
  • documented API, including events

Installation

Hit following commands to run the administration panel on the console

bower install
npm install
./make.js gen
open index.html
./make.js watch

You should be able to modify JS and Stylus files and the concatenation and pre-compilation is automatically taken care of. Check make.js for more other targets than watch.

Live versionRiot websiteBuilding modular applications with Riot.jsOriginal Riot blog post

riotjs-admin's People

Contributors

tipiirai avatar douglascalhoun avatar heartcode avatar

Watchers

 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.