NextJS + Postgres and Error Monitoring - Full Stack Support Ticketing System

Traversy Media · Beginner ·🧠 Large Language Models ·11mo ago
In this project, we will create a support ticket system with Next.js, Neon PostgreSQL, Prisma and we will implement error tracking and logging with Sentry. Sentry: https://sentry.io/signup/??utm_source=traversy&code=traversy Neon: https://fyi.neon.tech/2tm Code: https://github.com/bradtraversy/quick-ticket Timestamps: 0:00 - Intro 3:24 - Project Plan (Slides) 8:33 - Next.js App Setup 12:18 - Sentry Setup 15:30 - Sentry Example 20:21 - Neon PostgreSQL Setup 21:40 - Prisma Initiliazation 23:00 - Ticket Model 25:10 - Prisma Migration & Generate Client 26:51 - Prisma Studio 27:23 - Git Init 28…
Watch on YouTube ↗ (saves to browser)

Chapters (52)

Intro
3:24 Project Plan (Slides)
8:33 Next.js App Setup
12:18 Sentry Setup
15:30 Sentry Example
20:21 Neon PostgreSQL Setup
21:40 Prisma Initiliazation
23:00 Ticket Model
25:10 Prisma Migration & Generate Client
26:51 Prisma Studio
27:23 Git Init
28:27 Welcome Page
32:30 New Ticket Page
34:20 Start New Ticket Action
38:30 useActionState Hook
41:31 Form Validation & Sentry Logging
45:50 Sentry Log Level
47:00 Capture Exceptions
50:20 Global Prisma Instance
54:00 Sentry addBreadcrumb
55:40 Test New Ticket Functionality
56:47 Sentry Helper Function
1:05:34 Redirect On Submit
1:08:15 Sonner Notifications
1:11:00 Custom Ticket Form Component
1:13:59 Get Tickets Action
1:16:10 Show Tickets
1:23:12 Priority Colors
1:25:50 Get Single Ticket Action
1:28:30 Ticket Details Page
1:34:43 Navbar
1:37:25 Start Custom Authorization
1:38:40 User Model & Ticket Relation
1:44:00 JWT Explanation
1:46:11 Authentication Flow
1:48:58 Create Main Auth File
1:50:58 signAuthToken Function
1:53:47 verifyAuthToken Function
1:56:40 setAuthCookie Function
1:59:54 getAuthCookie Function
2:01:01 removeAuthCookie Function
2:02:30 Register Users
2:14:40 Register Page & Form Hook Up
2:20:40 Get Current User
2:25:15 Conditional Nav Links
2:27:15 Logout User
2:35:00 Login Page & Action
2:48:30 Check Sentry Logs
2:51:00 Ticket Authorization & Access Control
2:58:57 TicketItem Component
3:01:55 Close Ticket
3:16:25 Disable Closed Tickets

Playlist

Uploads from Traversy Media · Traversy Media · 0 of 60

← Previous Next →
1 Changing Your DNS/Nameservers
Changing Your DNS/Nameservers
Traversy Media
2 Adding & Checking Emails in cPanel
Adding & Checking Emails in cPanel
Traversy Media
3 Create a MySQL database in cPanel
Create a MySQL database in cPanel
Traversy Media
4 Install & Uninstall Joomla Extensions
Install & Uninstall Joomla Extensions
Traversy Media
5 Create and connect to FTP
Create and connect to FTP
Traversy Media
6 Adding and linking an article in Joomla
Adding and linking an article in Joomla
Traversy Media
7 Create a Joomla Blog
Create a Joomla Blog
Traversy Media
8 Connect Dreamweaver to your website
Connect Dreamweaver to your website
Traversy Media
9 Import & Export A MySQL Database
Import & Export A MySQL Database
Traversy Media
10 Use A Custom Font On Your Website Using CSS
Use A Custom Font On Your Website Using CSS
Traversy Media
11 PHP Arrays & Foreach Loops
PHP Arrays & Foreach Loops
Traversy Media
12 Connect Joomla Site With Dreamweaver
Connect Joomla Site With Dreamweaver
Traversy Media
13 Remove Phoca Gallery 3.2.3 Footer Text
Remove Phoca Gallery 3.2.3 Footer Text
Traversy Media
14 Install Phoca Gallery On Joomla 2.5
Install Phoca Gallery On Joomla 2.5
Traversy Media
15 Install Joomla 2.5 on Xampp
Install Joomla 2.5 on Xampp
Traversy Media
16 Drupal 7 Security Update 7.19 to 7.20
Drupal 7 Security Update 7.19 to 7.20
Traversy Media
17 Add An Addon Domain In Cpanel
Add An Addon Domain In Cpanel
Traversy Media
18 Pull A Heroku Rails App and Database
Pull A Heroku Rails App and Database
Traversy Media
19 Create a Custom Joomla 2.5 Module - Part 1
Create a Custom Joomla 2.5 Module - Part 1
Traversy Media
20 Create a Custom Joomla 2.5 Module - Part 2
Create a Custom Joomla 2.5 Module - Part 2
Traversy Media
21 Create a Custom Joomla 2.5 Module - Part 3
Create a Custom Joomla 2.5 Module - Part 3
Traversy Media
22 Joomla SEO Tutorial - sh404sef Configuration
Joomla SEO Tutorial - sh404sef Configuration
Traversy Media
23 Joomla Component Overrides
Joomla Component Overrides
Traversy Media
24 Font Dragr
Font Dragr
Traversy Media
25 Build a Joomla 2.5 Blog
Build a Joomla 2.5 Blog
Traversy Media
26 Install Wordpress on XAMPP
Install Wordpress on XAMPP
Traversy Media
27 Create a Custom Joomla Component
Create a Custom Joomla Component
Traversy Media
28 Install Joomla 3 0
Install Joomla 3 0
Traversy Media
29 Install Rails on Windows 7
Install Rails on Windows 7
Traversy Media
30 Convert an HTML Template to Joomla 2.5/3.0 - Part One
Convert an HTML Template to Joomla 2.5/3.0 - Part One
Traversy Media
31 Convert an HTML Template to Joomla 2.5/3.0 - Part Two
Convert an HTML Template to Joomla 2.5/3.0 - Part Two
Traversy Media
32 Rockettheme Rocketlauncher   Joomla Site in Under 10 Minutes
Rockettheme Rocketlauncher Joomla Site in Under 10 Minutes
Traversy Media
33 Free Joomla Templates - 2.5 & 3.0
Free Joomla Templates - 2.5 & 3.0
Traversy Media
34 My Sites - Joomla 2.5 Component Setup
My Sites - Joomla 2.5 Component Setup
Traversy Media
35 Notepad Plus Installation with FTP Plugin
Notepad Plus Installation with FTP Plugin
Traversy Media
36 JQuery FAQ Slider Tutorial
JQuery FAQ Slider Tutorial
Traversy Media
37 Add Facebook Login To Jomsocial
Add Facebook Login To Jomsocial
Traversy Media
38 301 Redirect With htaccess File
301 Redirect With htaccess File
Traversy Media
39 Secure FTP Login With Private Access Key
Secure FTP Login With Private Access Key
Traversy Media
40 Convert HTML to Wordpress Theme - Part 1
Convert HTML to Wordpress Theme - Part 1
Traversy Media
41 Convert HTML to Wordpress Theme - Part 2
Convert HTML to Wordpress Theme - Part 2
Traversy Media
42 Easy JQuery Widgets
Easy JQuery Widgets
Traversy Media
43 Installing Git on Windows
Installing Git on Windows
Traversy Media
44 Parse JSON With PHP
Parse JSON With PHP
Traversy Media
45 Codeigniter App Part 1 - Creating the Database
Codeigniter App Part 1 - Creating the Database
Traversy Media
46 Codeigniter App Part 3 - Home Controller and View
Codeigniter App Part 3 - Home Controller and View
Traversy Media
47 Codeigniter App Part 2 - Installation and Configuration
Codeigniter App Part 2 - Installation and Configuration
Traversy Media
48 Codeigniter App Part 5 - Form Validation
Codeigniter App Part 5 - Form Validation
Traversy Media
49 Codeigniter App Part 4 - Form Helper
Codeigniter App Part 4 - Form Helper
Traversy Media
50 Codeigniter App Part 6 - Login/Register System
Codeigniter App Part 6 - Login/Register System
Traversy Media
51 Codeigniter App Part 7 - Models List CRUD
Codeigniter App Part 7 - Models List CRUD
Traversy Media
52 Codeigniter App Part 8 - Models Task CRUD
Codeigniter App Part 8 - Models Task CRUD
Traversy Media
53 Codeigniter App Part 9 - Relational Table Joins
Codeigniter App Part 9 - Relational Table Joins
Traversy Media
54 Codeigniter App Part 10 - Finishing Our App
Codeigniter App Part 10 - Finishing Our App
Traversy Media
55 Node.js Part 1 - Install NodeJS on Windows
Node.js Part 1 - Install NodeJS on Windows
Traversy Media
56 Node.js Part 3 - Building a Static Page Server
Node.js Part 3 - Building a Static Page Server
Traversy Media
57 Node.js Part 4 - NPM
Node.js Part 4 - NPM
Traversy Media
58 Node.js Part 2 - Install MongoDB in Windows
Node.js Part 2 - Install MongoDB in Windows
Traversy Media
59 Create a Joomla Quickstart with Custom Sample Data
Create a Joomla Quickstart with Custom Sample Data
Traversy Media
60 Install MongoDB in Ubuntu
Install MongoDB in Ubuntu
Traversy Media
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Next Up
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)