https://github.com/traptitech/rucq
https://github.com/traptitech/rucq
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/traptitech/rucq
- Owner: traPtitech
- License: mit
- Created: 2025-03-21T01:28:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-31T09:19:27.000Z (10 months ago)
- Last Synced: 2025-08-31T10:18:28.495Z (10 months ago)
- Language: Go
- Size: 505 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rucQ
旧:https://github.com/traP-jp/rucQ
- フロントエンド(ユーザー用):https://github.com/traPtitech/rucQ-UI
- フロントエンド(管理者用):https://github.com/traPtitech/rucQ-Admin
## 開発環境の立ち上げ
```sh
docker compose watch
go run dev/create_bot.go >> .env # 初回のみ
# 終了
docker compose down
```
rucQ Server(localhost:8080)の他に
- [rucQ UI](http://localhost:3002)
- [rucQ Admin](http://localhost:3003)
- [Adminer](http://localhost:8082/?server=mariadb&username=root&db=rucq)(パスワード:`password`)
- [Swagger UI](http://localhost:8081)
- [traQ](http://localhost:3000)
などが立ち上がります。
rucQのユーザーはデフォルトでは`traq`ですが、traQでユーザーを作成して.envに`RUCQ_USER`を設定すると切り替えることができます。
詳しくは[compose.yaml](./compose.yaml)を参照してください。
## コード生成
API、モックは次のコマンドで生成できます。
```sh
go generate ./...
```
## テスト
テストは次のコマンドで実行できます。
```sh
go test ./...
```