P

Programming

Software development tutorials and talks

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

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/qu...

Watch on YouTubeadded 8 March 2026
+14

Key moments

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

Chapters by Traversy Media

Sign in to add a comment

Other Coverage

Related Videos

Did you find what you came for?