DawidStankiewicz Forum Save

Simple forum developed in Java with Spring Framework and Thymeleaf 🌐💬

Project README

Project Forum

Simple forum created using Spring Framework and Thymeleaf. Example of simple CRUD web application.

Current functions

For everyone:

  • Creating a user profile at /registration.
  • Displaying at the homepage: all existing sections, recent topics and recent posts.
  • Displaying all topics from section at /section/{id}.
  • Displaying topic and posts at /topic/{id}.

Only for authorized user (ROLE_USER):

Only for admin (ROLE_ADMIN):

Configuration

Example application properties are in the application.example.properties file. Befroe build Forum or run tests you have to create application.properties files.

## Database connection ##
spring.datasource.url=jdbc:mysql://localhost:3306/forum
spring.datasource.username=forum
spring.datasource.password=password

## Hibernate ##
spring.jpa.hibernate.ddl-auto=create
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

## Thymeleaf ##
spring.thymeleaf.cache=false
spring.messages.basename=messages/messages

## Static resources ##
spring.mvc.static-path-pattern=/resources/**

## Email ##
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
spring.mail.transport.protocol=stmp
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=### EMAIL ###
spring.mail.password=### PASSWORD ### 
spring.mail.smtp.auth=true
Open Source Agenda is not affiliated with "DawidStankiewicz Forum" Project. README Source: DawidStankiewicz/forum
Stars
61
Open Issues
2
Last Commit
2 years ago

Open Source Agenda Badge

Open Source Agenda Rating