A full-stack app created within Server Programming with Spring Boot Course, Haaga-Helia. An example of an online craftstore with different types of premium subscriptuions. The higher the tier of the subscription is - the more ads and products a user can add. There is also admin user who can delete ads and products.
- Java8, Spring Boot
- MariaDB, H2 databases
- Security
- Testing
- REST
- Thymeleaf, Bootstrap
To install this project:
Download, inzip, import as Maven project.
Unfortunately, the original database is no longer available.
More likely, versions updates in pom.xml will be needed as some time have passed.
Delete the "test scope" of h2 database in pom.xml
Change the contents of application.properties to:
spring.jpa.properties.hibernate.format_sql = true
spring.data.rest.basePath=/api
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console
Run CraftstoreApplication.java