Skip to content

Anya1304/BarbershopWebService

Repository files navigation

pipeline status coverage report

java

Table of contents

General info

This project is my first project written at SPDU courses.

Technologies

Project is created with:

  • spring
  • postgresql version: 14.2-1
  • flyway version: 8.5.10
  • minio version: 8.3.8

Configure and run project

  1. Configure db connection
    spring.datasource.username=
    spring.datasource.password=
    spring.datasource.url=jdbc:postgresql://${SPRING_DATASOURCE_HOST}:${SPRING_DATASOURCE_PORT}/${SPRING_DATASOURCE_SCHEMA}
  1. Run postgresql:
    docker-compose up -d db
  1. Configure smtp properties for email sending
    spring.mail.host=localhost
    spring.mail.port=2525
  1. Set profiles that you need (jpa/jdbc):
    spring.profiles.active=jdbc
  1. Start MinIO:
    docker-compose up -d minio
  1. Start MailHog
    docker-compose up -d mailHog
  1. Build and run project
    ./gradlew build
     java -jar build/libs/hairdressing-salon-0.0.1-SHAPSHOT.jar

Run project in Docker

    ./gradlew build
    docker-compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published