https://github.com/feihua/simple-go
基于Gin + Ant Design Pro的前后端分离管理系统的后端模块
https://github.com/feihua/simple-go
antd antd-design antd-design-pro gin grom
Last synced: 2 months ago
JSON representation
基于Gin + Ant Design Pro的前后端分离管理系统的后端模块
- Host: GitHub
- URL: https://github.com/feihua/simple-go
- Owner: feihua
- License: apache-2.0
- Created: 2020-11-05T08:06:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-28T07:31:59.000Z (4 months ago)
- Last Synced: 2025-05-28T08:26:48.246Z (4 months ago)
- Topics: antd, antd-design, antd-design-pro, gin, grom
- Language: Go
- Homepage:
- Size: 623 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 基于Gin + Ant Design Pro的前后端分离管理系统
## 快速启动
### 1.下载代码
```shell
git clone https://github.com/feihua/simple-go.git
```### 2.修改配置
vim config/app.yaml
```yaml
# MySQL数据库的连接配置
mysql:
host: 127.0.0.1
port: 3306
database: simple-go
username: root
password: 123456# Redis数据库的连接配置
redis:
host: 127.0.0.1:6379
password: 123456
```### 3.启动
```shell
make && make restart
```### 4.验证
```shell
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"mobile": "18613030352",
"password": "123456"
}' \
"{{host}}:6677/api/user/login"```
请将{{host}}替换为实际的服务器主机地址或域名。这段cURL命令执行