+
Skip to content

egcodes/hsw

Repository files navigation

HSW BE Service

Used libraries

  • spring-boot-starter-web
  • spring-boot-starter-data-jpa
  • spring-boot-starter-validation
  • spring-boot-starter-security
  • spring-boot-starter-cache
  • spring-boot-starter-data-redis
  • spring-boot-starter-test
  • springdoc-openapi
  • mapstruct
  • h2
  • Lombok
  • rest-assured
  • shedlock
  • postgresql

The site is no longer online. Here are a few examples

Follow the below steps to containerize the application

# Build the project
$ mvn clean package

# Build Docker image
$ docker build --tag=hsw:latest -f Dockerfile-app .
$ docker build --tag=nginx-hsw:latest -f Dockerfile-site .

# Run App, DB, HttpServer on Docker
$ docker-compose up -d

or

# Build the project
$ mvn clean package

# Build Docker image
$ docker build --tag=hsw:latest -f Dockerfile-app .
$ docker build --tag=nginx-hsw:latest -f Dockerfile-site .

# Run App, DB, HttpServer on Kubernetes
$ kubectl apply -f kube-postgres-pvc.yaml
$ kubectl apply -f kube-postgres.yaml
$ kubectl apply -f kube-redis-pvc.yaml
$ kubectl apply -f kube-redis.yaml
$ kubectl apply -f kube-hsw.yaml
$ kubectl apply -f kube-nginx.yaml

About

REST Backend service that handles user shares and activities

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载