https://github.com/nemeslaszlo/forum
For This Forum Backend using Spring Boot, Spring Security with JPA Authentication, Spring Data JPA with MySQL, Spring MVC.
https://github.com/nemeslaszlo/forum
java jwt mysql mysql-database spring spring-boot spring-mvc spring-security springboot
Last synced: 2 months ago
JSON representation
For This Forum Backend using Spring Boot, Spring Security with JPA Authentication, Spring Data JPA with MySQL, Spring MVC.
- Host: GitHub
- URL: https://github.com/nemeslaszlo/forum
- Owner: NemesLaszlo
- Created: 2020-07-26T17:25:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T20:19:04.000Z (almost 6 years ago)
- Last Synced: 2025-10-12T09:11:33.342Z (8 months ago)
- Topics: java, jwt, mysql, mysql-database, spring, spring-boot, spring-mvc, spring-security, springboot
- Language: Java
- Homepage:
- Size: 99.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Forum
[](https://www.codacy.com/manual/wow.laszlo/Forum?utm_source=github.com&utm_medium=referral&utm_content=NemesLaszlo/Forum&utm_campaign=Badge_Grade)
[](https://codeclimate.com/github/NemesLaszlo/Forum/maintainability)
For This Forum using Spring Boot, Spring Security with JPA Authentication, Spring Data JPA with MySQL, Spring MVC.
##### Post time management tool: https://github.com/marlonlom/timeago
##### MapStruct: https://mapstruct.org/
#### Endpoints:
| Entity | Type | URL | Description |
| -------- | ---- | ------------------------------------ | -------------------------------------------------------------- |
| User | POST | api/auth/signup | User sing up / registration. |
| | POST | api/auth/login | User logging in, authenticate. |
| | POST | api/auth/refresh/token | New authentication token generation for the current user. |
| | POST | api/auth/logout | Delete actual logged in user token. |
| | GET | api/auth/accountVerification/{token} | User profile activation. |
| Comment | POST | api/comments | User create a comment to the selected post. |
| | GET | api/comments/by-post/{postId} | Read comments of the selected post. |
| | GET | api/comments/by-user/{userName} | Read comments of the selected User. |
| Post | POST | api/posts/ | Create post. |
| | GET | api/posts/{id} | Read a single selected post. |
| | GET | api/posts/by-subforum/{id} | Read all posts from the selected forum. |
| | GET | api/posts/by-user/{username} | Read all posts of the selected user. |
| Subforum | POST | api/subforum | Create forum. |
| | GET | api/subforum | Read all existing subforum. (Short informations about forums.) |
| | GET | api/subforum/{id} | Read selected subforum. |
| Vote | POST | api/votes | Vote / Like a post. |