https://github.com/mijack/zero
https://github.com/mijack/zero
ddd-architecture spring-boot-2 zero
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mijack/zero
- Owner: MiJack
- License: apache-2.0
- Created: 2019-11-01T11:45:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T11:51:52.000Z (about 6 years ago)
- Last Synced: 2025-02-09T22:47:47.595Z (about 1 year ago)
- Topics: ddd-architecture, spring-boot-2, zero
- Language: Java
- Size: 640 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zero
### jar构建
`./gradlew build docker `
### db镜像构建
`docker run -d -p 3306:3306 --name=mysql-db --env="MYSQL_ROOT_PASSWORD=root" --env="MYSQL_PASSWORD=root" --env="MYSQL_DATABASE=ZeroDB" mysql`
docker run --name mysql --env="MYSQL_ROOT_PASSWORD=root" --env="MYSQL_PASSWORD=root" --env="MYSQL_DATABASE=ZeroDB" -p 127.0.0.1:3306:3306 -d mysql:8
docker exec -it mysql mysql -u root -p
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
FLUSH PRIVILEGES;
### 运行
` docker run -p 8080:8080 --link docker-mysql:mysql -t mijack/gs-spring-boot-docker`
## todo
[ ] 支持graph ql查询
[ ] 支持docker集成测试
[ ] 运行环境docker化
[ ] 采用六边形架构
# LICENSE
Copyright 2019 Mi&Jack
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.