Package Exports
- easy-web-app
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (easy-web-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Easy Web App
Create web applications easily.
This is a Node.js API for the rest-web-gui framework.
Focus is on web applications (not simple web pages). Ready to use plug-ins for interactive
- forms
- tables / lists
- content
- I/O: control switches/drawer, gauges, graphs, LEDs, displays, ...
- i18n: switch language
- maps: POIs, routes, traffic, ...
- page to page navigation with navigation tabs, menus, links and session data
- source code display
- basic OAuth security
Check out rest-web.gui for some demos and docu of all features.
Compared with ...
- jade
- descriptive, but low level
- more focus to simplify the creation of web pages, not applications
- angular
- can do everything, but programming is required
Node.js example
This creates a web page with a form view to add customers and a result view:
// initialize:
var gui = require('../../');
gui.init();
// Create a form view:
gui.addView(
{ ... view config ... },
{ ... plug in congig ... }
);
Full example: simple form
20 sec Test
Requires node.ns installed -- which is always a good idea to have it.
Get a local copy and start example:
git clone https://github.com/ma-ha/easy-web-app.git
cd easy-web-gui
npm install
cd examples/simple
nodejs index.js
Now open the web app in your browser: http://localhost:8888/