This project provides cz-portal-index and cz-portal-shop's backend services
-
cz-portal-registry
:The service-registry-center by eureka -
cz-portal-gateway
:Load balance and authorization by zuul -
cz-portal-monitor
:The fault tolerance library by histrix -
cz-portal-zipkin
:Tracing services with zipkin -
cz-portal-config
:Control control the config properties -
cz-portal-security
:Authorization by spring security with oauth2 and jwt -
cz-portal-service-user
:Provider user service -
cz-portal-service-item
:Provider the Cz-Portal-Front-Shop's item service -
cz-portal-service-order
:Provider Cz-Portal-Front-Shop's order service -
other...
pre
- load the sql(in cz-portal-db) file in you mysql(the backend server(Cz-Admin-Server) and front server(Cz-Portal-Server) share the same sql)
- ...
localhost run
- easiest server running flow: registry-->config-->security-->service-xxx-->gateway
docker run
- cd Cz-Portal-Server
- docker-compose build (build images)
- docker-compose up -d cz-portal-db (init)
- docker-compose up -d cz-portal-registry (run registry service)
- docker-compose up -d cz-portal-config (run config service)
- docker-compose up -d (run other services)
- docker-compose logs (print logs)
- admin:123456
- user:123456
`
`
- Jomalone Jia - Initial work - jomalonejia
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone who's code was used
- Inspiration
- etc