Lets Build Twitter From the Ground Up: Episode 203 || Java, Spring Boot, PostgreSQL and React
Building large scale application is more difficult than many people understand or expect. Join me in this long running series where I set out to duplicate one of the most popular social media platforms ever creating using Java, Spring Boot, Spring Security, PostgreSQL data, React JS web application framework and more.
In this episode we attempt to finish up the backend work for the additional messaging logic. To do this we start out by setting up the logic to create replies on the backend. We created a new method in the MessageService which takes in similar information as the createMessage method, and calls the createMessage method to simply create a new message with a replyTo message. This needed a new MessageDoesNotExistException which we created as well. After these were completed we added a new route in the MessageController for the createReply functionality as well as a new exception handler to deal with the MessageDoesNotExistException. Then we move onto the simpler logic of hiding a message from a user in the MessageService as well as the MessageController. Before finally moving onto the final piece of logic which was reading a message. This included updating the ConversationService to find a conversation by an id, creating a new ConversationDoesNotExistException. Then we moved onto the NotificationService to acknowledge notifications for a specific user and message when the user reads the message. Finally moving back to the MessageService and MessageController to implement the logic to read a the message including handling the ConversationDoesNotExistException.
Up to date assets zip for Logos, Images, etc: https://drive.google.com/drive/folders/1AVFdE3uq4GBeJYqZs8E9cCsuk_De8yaN?usp=sharing
~~~ How to gain access to the private Github Repository ~~~
• Instructions to Gain Access to the Pr...
~~~ Live Streaming Schedule ~~~
Tuesday & Thursday Evening: 9:00 PM - 11:00 PM CST
~~~ Support the Channel by Joining as a Member ~~~
~~~ Stay Up To Date With My Social Media ~~~
Twitter: https://twitter.com/UnknownKoder
Twitch: https://www.twitch.tv/unknownkoderyt
Be sure to subscribe and turn on the bell notifications on youtube to not miss another episode of Lets Build Twitter: shorturl.at/gnxZ8
Feeling Generous? Donate to the stream to help cover equipment and upgrade costs at:
https://streamlabs.com/unknownkoder/tip
~~~ Background Music Used In My Video ~~~
/ @therelaxedmovement
#JavaProgramming #SpringBoot #UnknownKode