Skip to content

jomalonejia/Cz-Portal-Server

Repository files navigation

Cz-Portal-Front-Shop

This project provides cz-portal-index and cz-portal-shop's backend services

Services Introduce

  • 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...

Deployment

pre

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)

default account

  • admin:123456
  • user:123456

Running the tests

`
`

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone who's code was used
  • Inspiration
  • etc