Release Notes
- gf upgrade to the latest version V1.12.1
- Front and rear end cross-domain authentication problem solving deployed separately
GoFrame tutorial is now finished recording, we welcome into the pit learn: https://my.oschina.net/flyoffox/blog/3209622
The previous version update
1. Install gf official website of the proposed project directory reconstruct
2. gf gen model generation model layer, but json format using the hump
3. gf upgrade to the latest version V1.11.4
gmanager
- Background gf-based management framework, support for login, authentication, organizations, user accounts, roles, permissions, menus, operation log
- gmanager has the full support of the front and rear end of the separation, but also support server-side template deployment;
- Log component uses gtoken perfect support for cluster deployment
Installation Tutorial
Code address
- github Address: https://github.com/goflyfox/gmanager
- gitee Address: https://gitee.com/goflyfox/gmanager
Download deployment
- Download the project from the git: git clone https://github.com/goflyfox/gmanager
- Install mysql database, created under the db, run the script deploy gmanager.sql
- config.toml modify the configuration file config
# 数据库配置
[database]
link = "root:123456@tcp(127.0.0.1:3306)/gmanager"
- go run main.go
- Visit http: // localhost to see the login page, username / password: admin / 123456
Server package
- Packing may be used provided gf gf-cli packaged
- It can also be cross-compiled by the original command
Playing linux environment package
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build main.go
Hit the local environment package
go build main.go
DESCRIPTION separated front and rear ends
- gmanager fully supports separated front and rear ends, the front end using vue-admin-template
- Run the downloaded github front-end code, run
npm install&npm run dev
- DETAILED DESCRIPTION deployment front-end code and details, see: https://github.com/goflyfox/gmanager-web
- Since the separation of the front and rear end and server template menu differ, the database needs to run: gmanager-web.sql
- If you have OCD, before and after the end of the separation can be public and template directory contents deleted, but the directory must be retained;
functional module
- Login, authentication, logout
- Organization Management
- User Management
- Role Management
- Menu Manager
- Log Management
- Support login, logout, additions and deletions to the business operation records
- Support interface calls, print return parameters for easy troubleshooting
Code Generation
For code generation, please refer to the java project: https://gitee.com/jflyfox/AutoCreate
Screenshot platform
Server template shot
log in:
organization:
User Management:
Log Management:
Vue separated front and rear ends screenshot
log in:
organization:
User Management:
Log Management:
thank
- gf framework https://github.com/gogf/gf