Simple social media service.
Demo is available at vemu.ddns.net/sociely
- Generate jar file:
./mvnw clean package -P prod -DskipTests
. - Run application:
java -jar ./target/sociely-*.jar
.
Remember to provide SPRING_DATASOURCE_USERNAME
, SPRING_DATASOURCE_PASSWORD
, SPRING_DATASOURCE_URL
as Environment Variables. Make sure you have installed Java 17.
- Generate docker image:
./mvnw spring-boot:build-image -P prod -DskipTests
. - Provide DB_PASSWORD env.
- Run docker compose.
./mvnw install
then ./mvnw spring-boot:run
and open page at localhost
- Spring Boot
- Thymeleaf
- Postgresql/H2
- Bootstrap
- Alpine.js
- Lombok