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

Traversy Media · Beginner ·🧠 Large Language Models ·10mo 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 Font Dragr
Font Dragr
Traversy Media
2 Build a Joomla 2.5 Blog
Build a Joomla 2.5 Blog
Traversy Media
3 Install Wordpress on XAMPP
Install Wordpress on XAMPP
Traversy Media
4 Create a Custom Joomla Component
Create a Custom Joomla Component
Traversy Media
5 Install Joomla 3 0
Install Joomla 3 0
Traversy Media
6 Install Rails on Windows 7
Install Rails on Windows 7
Traversy Media
7 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
8 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
9 Rockettheme Rocketlauncher   Joomla Site in Under 10 Minutes
Rockettheme Rocketlauncher Joomla Site in Under 10 Minutes
Traversy Media
10 Free Joomla Templates - 2.5 & 3.0
Free Joomla Templates - 2.5 & 3.0
Traversy Media
11 My Sites - Joomla 2.5 Component Setup
My Sites - Joomla 2.5 Component Setup
Traversy Media
12 Notepad Plus Installation with FTP Plugin
Notepad Plus Installation with FTP Plugin
Traversy Media
13 JQuery FAQ Slider Tutorial
JQuery FAQ Slider Tutorial
Traversy Media
14 Add Facebook Login To Jomsocial
Add Facebook Login To Jomsocial
Traversy Media
15 301 Redirect With htaccess File
301 Redirect With htaccess File
Traversy Media
16 Secure FTP Login With Private Access Key
Secure FTP Login With Private Access Key
Traversy Media
17 Convert HTML to Wordpress Theme - Part 1
Convert HTML to Wordpress Theme - Part 1
Traversy Media
18 Convert HTML to Wordpress Theme - Part 2
Convert HTML to Wordpress Theme - Part 2
Traversy Media
19 Easy JQuery Widgets
Easy JQuery Widgets
Traversy Media
20 Installing Git on Windows
Installing Git on Windows
Traversy Media
21 Parse JSON With PHP
Parse JSON With PHP
Traversy Media
22 Codeigniter App Part 1 - Creating the Database
Codeigniter App Part 1 - Creating the Database
Traversy Media
23 Codeigniter App Part 3 - Home Controller and View
Codeigniter App Part 3 - Home Controller and View
Traversy Media
24 Codeigniter App Part 2 - Installation and Configuration
Codeigniter App Part 2 - Installation and Configuration
Traversy Media
25 Codeigniter App Part 5 - Form Validation
Codeigniter App Part 5 - Form Validation
Traversy Media
26 Codeigniter App Part 4 - Form Helper
Codeigniter App Part 4 - Form Helper
Traversy Media
27 Codeigniter App Part 6 - Login/Register System
Codeigniter App Part 6 - Login/Register System
Traversy Media
28 Codeigniter App Part 7 - Models List CRUD
Codeigniter App Part 7 - Models List CRUD
Traversy Media
29 Codeigniter App Part 8 - Models Task CRUD
Codeigniter App Part 8 - Models Task CRUD
Traversy Media
30 Codeigniter App Part 9 - Relational Table Joins
Codeigniter App Part 9 - Relational Table Joins
Traversy Media
31 Codeigniter App Part 10 - Finishing Our App
Codeigniter App Part 10 - Finishing Our App
Traversy Media
32 Node.js Part 1 - Install NodeJS on Windows
Node.js Part 1 - Install NodeJS on Windows
Traversy Media
33 Node.js Part 3 - Building a Static Page Server
Node.js Part 3 - Building a Static Page Server
Traversy Media
34 Node.js Part 4 - NPM
Node.js Part 4 - NPM
Traversy Media
35 Node.js Part 2 - Install MongoDB in Windows
Node.js Part 2 - Install MongoDB in Windows
Traversy Media
36 Create a Joomla Quickstart with Custom Sample Data
Create a Joomla Quickstart with Custom Sample Data
Traversy Media
37 Install MongoDB in Ubuntu
Install MongoDB in Ubuntu
Traversy Media
38 HTML5 Web Storage
HTML5 Web Storage
Traversy Media
39 Install XAMPP In Windows 7
Install XAMPP In Windows 7
Traversy Media
40 Install Python 3.3 On Windows 7 in 2 1/2 Minutes
Install Python 3.3 On Windows 7 in 2 1/2 Minutes
Traversy Media
41 Create a Joomla Bootstrap Template From Scratch
Create a Joomla Bootstrap Template From Scratch
Traversy Media
42 Hosts File - Temporarily Assign Domain Name to IP Address
Hosts File - Temporarily Assign Domain Name to IP Address
Traversy Media
43 Easily migrate a Joomla site with Akeeba
Easily migrate a Joomla site with Akeeba
Traversy Media
44 Ubuntu Server 14.04 Setup Part 1 - Installation
Ubuntu Server 14.04 Setup Part 1 - Installation
Traversy Media
45 Ubuntu Server 14.04 Setup Part 2 - Change Hostname
Ubuntu Server 14.04 Setup Part 2 - Change Hostname
Traversy Media
46 Ubuntu Server 14.04 Setup Part 3 - Set Static IP
Ubuntu Server 14.04 Setup Part 3 - Set Static IP
Traversy Media
47 Ubuntu Server 14.04 Setup Part 4 - Samba File Server
Ubuntu Server 14.04 Setup Part 4 - Samba File Server
Traversy Media
48 Ubuntu Server 14.04 Setup Part 5 - Install OpenSSH
Ubuntu Server 14.04 Setup Part 5 - Install OpenSSH
Traversy Media
49 Create A Wordpress Widget - Part 1
Create A Wordpress Widget - Part 1
Traversy Media
50 Create A Wordpress Widget - Part 2
Create A Wordpress Widget - Part 2
Traversy Media
51 Create A Wordpress Widget - Part 3
Create A Wordpress Widget - Part 3
Traversy Media
52 Create A Wordpress Widget - Part 4
Create A Wordpress Widget - Part 4
Traversy Media
53 Get Started With Sass on Windows
Get Started With Sass on Windows
Traversy Media
54 Build An HTML5 Template With Bootstrap and SASS - Part 1
Build An HTML5 Template With Bootstrap and SASS - Part 1
Traversy Media
55 Build An HTML5 Template With Bootstrap and SASS - Part 6
Build An HTML5 Template With Bootstrap and SASS - Part 6
Traversy Media
56 Build An HTML5 Template With Bootstrap and SASS - Part 4
Build An HTML5 Template With Bootstrap and SASS - Part 4
Traversy Media
57 Build An HTML5 Template With Bootstrap and SASS - Part 5
Build An HTML5 Template With Bootstrap and SASS - Part 5
Traversy Media
58 Build An HTML5 Template With Bootstrap and SASS - Part 3
Build An HTML5 Template With Bootstrap and SASS - Part 3
Traversy Media
59 Build An HTML5 Template With Bootstrap and SASS - Part 2
Build An HTML5 Template With Bootstrap and SASS - Part 2
Traversy Media
60 Build An HTML5 Template With Bootstrap and SASS - Part 7
Build An HTML5 Template With Bootstrap and SASS - Part 7
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)