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 :)
-
57:22
Coin Stories with Natalie Brunell
14 hours agoWill 1 Bitcoin Be Generational Wealth? Whales Selling, Legacy Planning & Price Drivers
12.2K4 -
3:04:49
Price of Reason
13 hours agoTrump wants Tim Walz to RESIGN! Welcome to Derry Finale! Song Sung Blue EARLY REVIEW! Lanterns WOKE?
271K20 -
11:47
Liberty Hangout
1 day agoAnti-Trump Beta FARTS On Me Instead of Debating
52.8K79 -
1:37:20
FreshandFit
8 hours agoShe’s Not Your Girl It’s Just Your Turn
65.5K11 -
5:26:18
Akademiks
11 hours agoEbro has MELTDOWN after Drake tells him to *** SLOWLY! Radio Over? NLE vs Youngboy part 805?
44.4K1 -
1:35:27
Inverted World Live
12 hours agoLost Satellites, Wild Horses, and 3i/Atlas
160K7 -
2:53:42
TimcastIRL
10 hours agoCandace Owens IMPLODES, Audience IN REVOLT, Claim SHES A CLONE Or GOT THE CALL | Timcast IRL
303K246 -
2:49:53
Barry Cunningham
10 hours agoLIVE BREAKING NEWS: President Trump Celebrates Hanukkah! And More News
81K19 -
1:29:40
Anthony Rogers
17 hours agoEpisode 394 - Isaac Butterfield
42.7K3 -
8:02
China Uncensored
16 hours agoChina Just Took The First Step Towards WAR
53.9K30