Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build an Expense Tracker with Next.js, TypeScript, Prisma, Neon, and Clerk

Traversy Media via YouTube

Overview

Build a full-stack expense tracker application using Next.js Server Actions, TypeScript, Prisma, Neon, and Clerk. Learn to set up a Neon database, create Prisma models, implement Clerk authentication, and develop components for adding, displaying, and deleting transactions. Master server-side actions for user management, transaction handling, and balance calculations. Explore advanced features like React Toastify for notifications, utility functions for data formatting, and deploy the finished application to Vercel.

Syllabus

- Intro
- Links & Docs
- Create Next App
- Layout File
- Neon Project Setup
- New Database & Role
- Neon SQL Editor Demo
- Prisma Setup & Schema
- User Model
- Transaction Model
- Generate Client & Migrate
- Database File
- Clerk Authentication Setup
- Header Component
- SignIn, SignOut & UserButton
- Save User To Neon Database
- Guest Component
- AddTransaction Component
- addTransaction Action
- Get & Validate User
- React Toastify Setup
- Save Transaction to Neon Database
- useRef To Clear Form
- Balance Component
- getUserBalance Action
- addCommas Utility Function
- Clerk Dashboard Users
- IncomeExpense Component
- getIncomeExpense Action
- TransactionList Component
- Transaction Type
- getTransactions Action
- TransactionItem Component
- Delete Button
- deleteTransaction Action
- Commas & Decimal Places
- Email/Password Test
- Vercel Deployment

Taught by

Traversy Media

Reviews

Start your review of Build an Expense Tracker with Next.js, TypeScript, Prisma, Neon, and Clerk

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.