Archived
1
0
Fork
You've already forked notify
0
a (unoriginal) social media backend made with spring
This repository has been archived on 2025年01月12日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Java 100%
2025年01月12日 20:05:21 +01:00
gradle/wrapper init commit [add basic spring-setup] 2024年11月12日 08:54:14 +01:00
http examples change naming conventions & http files 2025年01月12日 19:31:09 +01:00
imgs change naming conventions & http files 2025年01月12日 19:31:09 +01:00
src cleanup 2025年01月12日 20:05:21 +01:00
.gitignore add README.md 2024年11月17日 11:49:25 +01:00
build.gradle use @NotNull instead of scuffed annotations 2025年01月11日 10:48:01 +01:00
gradlew init commit [add basic spring-setup] 2024年11月12日 08:54:14 +01:00
gradlew.bat init commit [add basic spring-setup] 2024年11月12日 08:54:14 +01:00
LICENSE add license 2025年01月10日 11:24:39 +01:00
README.md cleanup 2025年01月12日 20:05:21 +01:00
settings.gradle change project-concept from bookshop to social media platform & update model accordingly 2024年11月14日 23:42:00 +01:00

notify

a spring backend for a (unoriginal) social media platform, including

  • messaging with reactions
  • rooms
  • room permissions
  • public posts with comments
  • friendships inspired by both Element and Instagram.

"cool" things

  • bi-directional setters
  • getters for not-modifiable-sets
  • error-handling
  • custom annotated UUID-entity & UUID-Repository
  • custom annotated crud-repository & UUID-repository-tests
  • (more tests than actual code)
  • ...and probably more i forgot

entities

backend console

theres nothing interesting to see here...

end-to-end tests

user

room

note on the tests

the tests are mostly written by ChatGPT & very extensive

endpoints

I didn't implement all of the endpoints due to time restrictions (and because it was a school project)

endpoints:

  • /get_message

  • /get_room_messages with pagination

  • /create_message with password-check (insecure), checks if user is room-member

  • /delete_message

  • /edit_message

  • /get_room only first 100 messages

  • /create_room

  • /delete_room

  • /get_user

  • /create_user

  • /delete_user with password-check (insecure)