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
Russell Brand
5 hours agoMy Turning Point Speech - Faith, Freedom & the Fight for Meaning - SF666
8,731 watching -
LIVE
vivafrei
7 hours agoEp. 296: Epstein Disclosures! Georgia Election Fraud? Brown U Debacle; Venezuela Seizures & MORE!
3,650 watching -
2:21:31
Robert Gouveia
5 hours agoElection Fraud BUSTED! Maxwell Indictment UNSEALED! Detain Kilmar NOW!
7.21K3 -
UPCOMING
The Tom Renz Show
30 minutes agoEpstein & Tina Peters - Exclusive Updates
-
1:19:31
The Quartering
2 hours agoAMFEST Civil War, Pam Bondi To Be Impeached, Bad News For The Economy & More
93.2K20 -
1:10:06
DeVory Darkins
3 hours agoDemocrats left SCRAMBLING after JD Vance GOES NUCLEAR with epic speech at TPUSA
96.3K36 -
1:45:47
Tucker Carlson
2 hours agoMatt Gaetz: Ted Cruz’s Delusional 2028 Bid, the ADL, and Identity Politics Taking Over the Right
38.4K133 -
LIVE
Dr Disrespect
5 hours ago🔴LIVE - DR DISRESPECT - ARC RAIDERS - THE GREAT RESET... BEGINS
1,805 watching -
LIVE
Jeff Ahern
1 hour agoMonday Madness with Jeff Ahern
144 watching -
15:14
tactical_rifleman
4 hours ago $0.16 earned.50 CAL INCENDIARY DESTRUCTION | Tactical Rifleman
2.71K2