Skip to content

pl4za/discountsm

Repository files navigation

discountsm (beta)

Deals, discounts and vouchers

CircleCI

Features (v0.1)

  • See deals
  • Create deals
  • Vote on deals
  • Share deals

Tech

  • Spring boot
  • Hibernate
  • Postgres
  • Flyway
  • Docker

Running the service

This service and its integration tests require a postgres database running on port 5432. The below docker command will spin up the service (8080) and the database (5432).

docker build --tag discountsm .
docker-compose up

The postgres docker container is mapped to port 5432, so you can stop the service in docker, clear the migrations and run it manually using:

mvn -Dflyway.user=postgres -Dflyway.password=discountsm -Dflyway.url=jdbc:postgresql://localhost/discountsm flyway:clean
mvn spring-boot:run (or directly in your IDE)

Releases

No releases published

Packages

No packages published