https://github.com/yurunsoft/imi-gobang
https://github.com/yurunsoft/imi-gobang
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/yurunsoft/imi-gobang
- Owner: Yurunsoft
- License: agpl-3.0
- Created: 2020-04-06T06:48:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T19:22:55.000Z (over 3 years ago)
- Last Synced: 2025-03-28T21:11:31.868Z (about 1 year ago)
- Language: PHP
- Size: 2.79 MB
- Stars: 22
- Watchers: 4
- Forks: 8
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imi-gobang
一款使用 imi 框架开发的五子棋在线对战系统。
本项目用于学习进阶 imi 实战视频教程,即将在 B 站免费连载,敬请期待!
项目基于 AGPL V3 协议开源。前端 UI 禁止商用!
演示地址:
imi 框架交流群:17916227 [](https://jq.qq.com/?_wv=1027&k=5wXf4Zq)
## 技术栈
### 后端
[imi 框架](https://www.imiphp.com/)
[Swoole](https://www.swoole.com/)
[PHP](https://www.php.net/)
### 前端
[Vue](https://cn.vuejs.org/)
## 运行
### 服务端
**配置:**
`config/config.php` 中可以改端口及数据库等配置
**运行命令:**
```shell
cd server
# Composer 安装
composer update
# 导入数据数据库表结构
vendor/bin/imi generate/table
# 启动服务
vendor/bin/imi server/start
```
### 前端页面
**配置:**
`vue.config.js` 中可以改端口
`.env` 中修改**正式**环境的接口 URL
`.env.development` 中修改**测试**环境的接口URL
**运行命令:**
```shell
cd h5
npm install
npm run serve
```
## 预览图




