ITForum is my first project using Spring MVC. Forum is simple, allows to register users and create categories. Users after successful login can create and comment posts. Technology stack:
- Java
- Spring Framework, Spring MVC - application framework
- Spring Security - password hashing, login handling etc.
- MySQL + Workbench - database
- JPA - ORM
- Thymeleaf - views handling
- JUnit, Mockito - testing
- Maven - build automation tool
- Tomcat - application container
- Create WAR file
- Copy WAR file to Tomcat container (e.g. /Tomcat/webapps/ITForum.WAR)
- Create 'itforum' database on MySQL server (on localhost/127.0.0.1)
- Create user 'root' with 'root' password and grant all privileges to itforum database
- Run Tomcat
- You can access ITForum in 'localhost:8080/itforum' address
- If you want to create admin, you need to register normal user then change role manually in MySQL to 'ADMIN'