OlympusSpring is a backend for the OlympusBlog stack using Spring.
- Spring related packages for everything
- PostgreSQL
- Redis to store the sessions
- S3 to store files
- Gmail for sending password reset mails.
- Mapstruct for easier mapping from DTOs to entities
- Lombok to generate boilerplate
- Install Java 17 and Maven
- Clone this repository
- Install Postgres and Redis.
- Open the project in IntelliJ to get all the dependencies.
- Rename
appsettings.properties.exampleinsrc/main/resourcestoappsettings.propertiesand fill out the values. AWS is only required if you want file upload, Gmail if you want to send reset emails. - Run
mvn spring-boot:run.
Examples on how tests would be written are in the test directory.
Tests in the repository directory additionally need a running test db to work.
- Spring Reddit Clone: Based on this tutorial series.