ng-admin-demo

Source of the ng-admin angular.js demo, using a dummy REST service powered by FakeRest

Github星跟踪图

ng-admin demo configuration

This is a demo of the ng-admin module for Angular.js. It creates a working administration for a fake poster shop named Posters Galore. You can test it online at http://marmelab.com/ng-admin-demo.

Posters Galore Administration

ng-admin usually requires a REST server to provide data. In this demo however, the REST server is simulated by the browser (using FakeRest). You can see the source data in data.js.

To explore the source code, start with js/main.js.

Installation

No installation needed to play with the demo. Just clone the repo, and open the index.html file.

Generating a new Dataset

The dataset is generated randomly. You can generate a new dataset with:

# update the data.js file
make data

To modify the data generator, start with dataGenerator/generate.js.

Tweaking The Admin

If you want to modify the admin configuration and see how it affects the admin, you'll need to install the build tools.

## install npm dependencies
make install
## run the server
make run

You can now open http://localhost:8080/webpack-dev-server/. Every change in the source will reload the page in the browser.

Pushing an update

You'll need to build the minified source before releasing a new version.

# update the files under build/
make build

License

ng-admin-demo is licensed under the MIT Licence, and sponsored by marmelab.

主要指标

概览
名称与所有者marmelab/ng-admin-demo
主编程语言JavaScript
编程语言Makefile (语言数: 4)
平台
许可证
所有者活动
创建于2014-10-02 13:20:36
推送于2019-05-04 07:30:35
最后一次提交2019-05-04 09:30:34
发布数0
用户参与
星数303
关注者数38
派生数181
提交数99
已启用问题?
问题数24
打开的问题数2
拉请求数10
打开的拉请求数2
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?