Build an Instagram Clone with NestJS & Next.js
This course walks you through building a real Instagram-style application from scratch using a modern, type-safe fullstack stack.
You will build a fully featured app using NestJS, Next.js, tRPC, PostgreSQL, Drizzle ORM, Tailwind, shadcn/ui, Better Auth, and Turborepo. The focus of this course is not just features, but architecture, end-to-end type safety, and an excellent development experience through shared types and code between the frontend and backend.
This is a hands-on, production-focused course where every feature is built end to end, from database schema to API to UI, using patterns you can reuse in real-world applications.
What You'll Learn
- Build an end-to-end type-safe fullstack application using NestJS, Next.js, and tRPC
- Design and share types seamlessly between frontend and backend using Turborepo
- Build beautiful & customizable UI components with shadcn & tailwindcss
- Implement JWT authentication using Better Auth to protect our APIs and UI with secure cookies
- Build real production features including posts, stories, likes, comments, and followers
- Learn how to upload & serve static files from the UI to the backend locally and in AWS S3
- Model and query relational data using PostgreSQL and Drizzle ORM
- Deploy a fullstack application to production using AWS Elastic Beanstalk and Vercel
- Implement a CI/CD pipeline to build and deploy our code with every commit
- Configure a custom domain for UI and backend with secure HTTPS