This is my microservices practice project. My goal is build the uno game backend server.
The supplementary frontend project is https://github.com/sbx0/nextjs.
You can visit https://next.sbx0.cn to see this project's online version, but the user register function is not public because this project is under construction. So if you are interested in this project and want to use it online, you can email me, and I will give you an account for free. My email address is in my GitHub home page.
- basic uno game rules
- one click matching gamers
- create game room and invite your friends
- no gamer size limit
Role | Framework |
---|---|
Registration Center | Netflix Eureka |
Configuration Center | Spring Cloud Config |
Gateway | Spring Cloud Gateway |
HTTP client | Feign |
Database | MySQL |
Cache | Redis |
Code Generator | MyBatis Plus Generator |
Authority Authentication | Sa-Token |
- git clone
- run
./build.sh i
to init -
- run
./build.sh
to build and run on server - run
./build.sh local
to build and run on wsl2
- run
- visit http://127.0.0.1:8761 to Eureka
CONFIG_URL=http://wsl2.sbx0.cn:8888;SECURITY_PASSWORD=test;SECURITY_NAME=sbx0;REGION=docker;VERSION=0.0.0;REGISTRY_URL=http://wsl2.sbx0.cn:8761/eureka/;IP_ADDRESS=win.sbx0.cn;DB_URL=jdbc:mysql://wsl2.sbx0.cn:3306/assembler?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
/etc/init.d/docker start
docker exec -it container_id /bin/bash
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
watch cn.sbx0.microservices.uno.service.impl.GameRoomServiceImpl message {params} -x 2
mvn verify --fail-fast