Lets Build Twitter From the Ground Up: Episode 264 || 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 continue working on the updated view system for our twitter clone. Specifically we hop back into the frontend to setup everything to send the view messages back to the backend. To do this we start out by updating our Post interface with a new interface depicting the post view model on the backend. Then we update the post slice v2 to take in a view client from the useWebSocket hook to be able to send the view messages to the backend. Once we have the action setup to send views we fetch the users ip address to double check if we have viewed a post before sending the message to the queue, and finally, we setup the logic in the usePostActions hook to send the views, and use that logic inside of the post component and the single post component. Wrapping up by removing the old view logic from the feed page.
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 Private...
~~~ 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