Full Stack Twitter Prototype With Next.js

Build And Deploy a Social Media App with NextJS, PostgreSQL, TailwindCSS, Vercel

What you'll learn

  • How to use NextJS to build a simple social media app
  • How to create modular React components
  • How to work with TypeScript
  • How to work with PostgreSQL
  • How to work with pg, a low level database driver for NodeJS
  • How to secure the app with json web token authentication (JWT)
  • How to implement simple role based authorization logic
  • How to create, deploy, and secure cron jobs using Vercel Cron
  • How to run scripts locally and on production
  • How to deploy the app to Vercel
  • How to style the app with TailwindCSS
  • How to use SWR for data fetching and mutations
  • How to use Postman to test an API
  • How to use NextJS route groups to organize routes
  • How to use Git and GitHub for source control

Course Content

18 sections • 132 lectures • 10.6 hours total length

  • Intro
    05:53
  • Install
    02:30
  • Discovery
    01:30
  • Resources

Requirements

  • No programming experience is needed, but some is recommended
  • Basic knowledge of HTML, CSS, JavaScript, Git, and SQL is recommended
  • Basic computer skills, familiarity with VSCode and Command Line

Description

Drawing inspiration from Meta's recent unveiling of Threads, this comprehensive course is meticulously crafted to empower students with the skills and knowledge needed to construct their very own Twitter Clone. Learn just enough Next.js, PostgreSQL, TailwindCSS, and Vercel to get a Full Stack App up and running, and shipped to the cloud

In the ever-evolving landscape of the tech industry, the demand for Full Stack Developers is at an all-time high. These technical polymaths excel in Front End Development, Back End Development, and DevOps, often spearheading entire feature sets and projects from inception to deployment. Their versatility renders them indispensable assets, equally sought after by startups and corporate giants alike.

Upon completing this transformative course, you will have successfully conceptualized, constructed, and deployed a fully functional web app to the cloud. Armed with this foundational knowledge, you'll possess the competence to delve into more advanced domains of study, setting the stage for a highly lucrative and fulfilling career in the ever-expanding tech sector.

Delve into this immersive learning experience structured as a step-by-step tutorial series. Seamlessly follow along on your computer as you unlock the secrets of web development. Beyond the lines of code, each tutorial will unravel the underlying thought processes, providing you with not only the "how" but also the essential "why" behind every strategic decision.

This course is ideally suited for students possessing a foundational understanding of programming. However, even if you lack prior programming experience, your innate technical aptitude will be nurtured through our meticulously crafted tutorials, allowing you to seamlessly engage with the content and thrive in your learning journey.

This course was initially designed using Next.js 13, but it seamlessly accommodates version 14 as well.

IMPORTANT! Please review the curriculum and course details before purchasing the course to ensure it aligns with your learning goals.

Curriculum

  1. Introduction: An initial section covering tool installation, project requirements discussion, and an overview of the course.
  2. Design: Dive into the design phase, including the review of mockups, API design, and database schema.
  3. Setup: Explore the project's initialization, code deployment to GitHub, and deploying the skeleton app.
  4. Home Page: A concise section on building the home page.
  5. Database Development: Develop the initial database schema and script for loading fake data during the development phase.
  6. Sign In Page: Construct the sign-in page, focusing on the API endpoint, sign-in form, and utilizing jose for JWT token authentication.
  7. Sign Up Page: Build the sign-up page, covering the API endpoint, sign-up form, and production database setup.
  8. Authentication and Private Layout: Learn to protect various pages with authentication, covering middleware, SWR for client-side data fetching, and displaying avatar images.
  9. Feed Page: Construct the feed page and display a list of posts.
  10. Profile Page: Build the profile page, where users manage their posts, including SWR Mutate for refreshing UI with the latest data.
  11. Following Page and Followers Page: Develop the following and followers pages, including API endpoint creation and UI development.
  12. Account Page: Build the account page and logout endpoint.
  13. User Page: Construct the user page, the view that other users see when visiting a user's profile. Includes API endpoint and UI development.
  14. Search Bar: Create the search bar, covering lodash debounce, displaying search results, and handling click outside to close the results.
  15. Edit Post Page: Develop the edit post page.
  16. Authorization and Cron Jobs: Build a cron job, suitable for Vercel Cron Job, and learn how to authorize the cron job trigger.
  17. Extras: A brief section covering server components, minor topics like light mode and dark mode, a lecture on uploading avatars with Vercel Blob, and a video on upgrading to Next.js 14.

Course Details

  • This course is not an exhaustive exploration of every feature within Next.js, but this course does provide a pragmatic tutorial of building a Full Stack App.
  • This course does not cover server components in detail, but it does cover client components using the traditional Back End API + Front End SPA architecture.
  • The style of this course does not involve a lot of lecturing about concepts, but it does revolve around following along as the instructor codes. Students are encouraged to research any areas of interest.
  • This course does not aim for comprehensive mastery of the web framework, but it does prioritize practical application and learning just enough of the full stack to accomplish the goal of building a functional app.
  • This is not an advanced or expert-level developer course, but it is tailored for the beginner to intermediate audience with some web development experience.

Who this course is for

  • Beginner and intermediate developers looking to learn Full Stack Development with NextJS
  • Anyone wishing to learn how to build a web app using modern web technologies

Full Stack Twitter Prototype With Next.js

Section 1: Introduction

Section 4: Home Page

Section 11: Following And Followers Page

Section 18: Conclusion