Premium Only Content
Full Stack TikTok Clone: NestJS, GraphQL, Prisma, Postgres, React, Apollo Client, Zustand & Tailwind
Full-Stack TikTok Clone using NestJS, GraphQL, ReactJS, Apollo Client, Zustand & TailwindCSS
Hey, coders,
Here I am again with another beautiful build, where we will build a full-stack TikTok clone.
We will be using TypeScript along with NestJS for the backend and ReactJS for the frontend. For the generation of types on the front end, we will make use of GraphQL Codegen, which allows us to automatically generate types from our backend. For styling, we will use TailwindCSS.
For syncing our front end with the data coming from the GraphQL API, we will use Apollo Client. For state management regarding the UI, we will use ZUSTAND.
What kind of functionality will our Tiktok clone have?
We will be able to register, log in, make posts containing a video, like and comment posts. Also, we will be able to update your user profile.
We will also have infinite loading, meaning whenever we reach the bottom, more posts will be loaded into our feed.
What will we be learning?
We will be learning how to create A GraphQL API and connect it to a separate frontend, and how to work with files, such as images and Videos on the front and backend.
Timestamps:
00:00 Intro
00:02: Setting up NestJS with GraphQL and Prisma, implementation of backend logic for registering, logging in, logging out, and issuing access tokens.
00:40: Setup for ReactJS to work with Apollo Client and GraphQL CodeGen; implementation of React Router with protected routes, only logged-in users will be able to perform actions, such as liking, commenting, or creating posts. Implementation of log-in, and register functionality.
2:06: Top Navigation with logout functionality and Sidebar
2:50 Building the Upload page and the backend logic for dealing with video files
3:50: Building the Feed Page for displaying the posts
4:10: Implementation of the comment and like feature on the backend, and building the Post page, where users can like and comment.
5:14: Implementation of the user profile feature on the backend as well as on the front end; working with image files and React Cropper.
6:12: A few big fixes and Big Thanks for watching :)
-
LIVE
TimcastIRL
1 hour agoTHEY CAN'T HIDE ANYMORE | Timcast IRL #1440
20,741 watching -
LIVE
NetAxisGroup
3 hours ago$WAR on USD1 LIVE - $10,000 DONATED TO VETERANS | Supporting Vet Creators on Rumble!
92 watching -
LIVE
The Jimmy Dore Show
3 hours agoElon’s Daughter CONFIRMS Epstein Island Visit! Epstein Files REVIVE Pizzagate! w/ Dr. Brian Hooker
9,047 watching -
LIVE
TheSaltyCracker
1 hour agoEpstein is Alive Isn't He ReeEStream 02-02-26
12,676 watching -
LIVE
MattMorseTV
1 hour ago🔴New LEAKED INFO changes EVERYTHING.🔴
3,603 watching -
LIVE
VapinGamers
37 minutes agoNew Rum Bot, Who Dis and Some Off the Grid! - !alerts
64 watching -
LIVE
Amy Dangerfield
1 hour agoDef Noodles Purged by LAGOP Over Nick Fuentes & Groypers | Ep. 2
113 watching -
3:16:38
Sgt Wilky Plays
3 hours agoFor Agatha
1801 -
XDDX_HiTower
1 hour agosea of thieves style game ECHOS OF ELYSIUM!!
2 -
1:03:37
Donald Trump Jr.
5 hours agoProtecting the Homeland, LIVE COVERAGE!!! | Triggered Ep. 313
173K122