Watch 2 Star 1 Fork 2

绝望的八皮 / clojure-web-adminClojure

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
A metadata-driven clojure(script)-based web admin app spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.org

Description

Clojure web admin is a clojure(script)-based, metadata-driven web admin system providing some generic features in web admin system.

The core features are as follows:

  • CURD with data-Level permissions based on korma
  • Menu tree & toolbars with button-level permissions based on reagent/re-frame
  • High-level abstractions in field type based on reagent-forms (e.g. image, attachment, enum, select, etc.)
  • Font-end & Back-end validation based on bouncer.

Other features:

  • Login/Logout
  • Optimistic lock for updating data
  • Default value showing in forms
  • Export as excel file/Import from excel file
  • Bar chart for datagrid based on CanvasJs

More features are coming up..

Quick Start

This project already has some build-in moduals including ‘User’, ‘Role’, ‘Organization’, which can be used as common moduals in your new project. ‘Computer’ and ‘Brand’ moduals are only for demostration.

Let`s get start!

  • Clone the project
    git clone https://github.com/b1412/clojure-web-admin.git
        
    cd clojure-web-admin
        
  • Execute SQL script in MySql
    mysql -uroot -proot
    
    mysql> source db/demo.sql;
        
  • Start project

    start font-end

    lein figwheel
        

    start back-end

    lein run
        

    NOTE: to get better experience, use REPL to play!

  • Visit http://localhost:3000 and log in as admin

    username: admin

    password: admin

  • Go demo in details to see snapshots of core features in demo moduals before you play it.

More details

Go wiki to go deeper into the project.

Copyright © 2015 Leon Zhou

Distributed under the Eclipse Public License, the same as Clojure.

Comments ( 0 )

Sign in for post a comment

Clojure
1
https://gitee.com/zhouleib1412/clojure-web-admin.git
git@gitee.com:zhouleib1412/clojure-web-admin.git
zhouleib1412
clojure-web-admin
clojure-web-admin
master

Search

231008 48f1a665 1899542 231017 9a6720c6 1899542