- API Definition Generation (including Swagger)
- DB Table Generation & OR Mapping
- Support Custom Logic using Gohan Script (Javascript, and Go)
- Extensible Role-Based Access Control
- etcd integration
see [Pet Store Example] (./etc/example_schema.yaml)
- Download Gohan Release
- Start server:
./gohan server --config-file etc/gohan.yaml
wget -qO - https://deb.packager.io/key | sudo apt-key add -
echo "deb https://deb.packager.io/gh/cloudwan/gohan trusty master" | sudo tee /etc/apt/sources.list.d/gohan.list
sudo apt-get update
sudo apt-get install gohan
sudo rpm --import https://rpm.packager.io/key
echo "[gohan]
name=Repository for cloudwan/gohan application.
baseurl=https://rpm.packager.io/gh/cloudwan/gohan/centos6/master
enabled=1" | sudo tee /etc/yum.repos.d/gohan.repo
sudo yum install gohan
wget -qO - https://deb.packager.io/key | sudo apt-key add -
echo "deb https://deb.packager.io/gh/cloudwan/gohan wheezy master" | sudo tee /etc/apt/sources.list.d/gohan.list
sudo apt-get update
sudo apt-get install gohan
- Install GO >= 1.6
- go get github.com/cloudwan/gohan
Quick link
http://localhost:9091/ (or https://$APPNAME.herokuapp.com/ )
-
Admin User
- ID: admin
- Password: gohan
- Tenant: demo
-
Member User
- ID: member
- Password: gohan
- Tenant: demo
- Install Go >= 1.6
- Install development tools
make deps
- make & make install
make
make install
- Send a pull request to Github
-
Sign our CLA and send scan for info@cloudwan.io
-
Create an issue in github
-
Send PR for github
We recommend to rebase multiple commits
Apache2