Skip to content

azdanov/spring-fresh-ads

Repository files navigation

Spring Fresh Ads

A classified ads site made in Spring Boot hosted on Heroku with Email support, Stripe for payments and i18n English/Russian languages. Live version.

A project where I explored Thymeleaf and minimal JavaScript approach to building classical applications with Spring. For Areas and Categories a Nested Set model was used thanks to NestedJ.

This app is powered by Java 16. The backend is made in Spring, Spring Boot, Spring Data JPA and secured by Spring Security. The frontend is created with Thymeleaf and Bootstrap 5 with minimal JavaScript, apart from Stripe payment integration.

Screenshots

image image image
image image image

Dev

To run make sure you have Java 16 and Docker installed. Then start included docker-compose file and run application.

Stripe

For Stripe payments you will have to create a personal test account and replace env variables for stripe.secret-key=${STRIPE_SECRET_KEY}, stripe.public-key=${STRIPE_PUBLIC_KEY}, stripe.webhook-secret=${STRIPE_WEBHOOK_SECRET}

Useful links:

Email

For dev mailhog is used to catch outbound emails.