Josh tried coding
Building a Modern Restaurant Booking Software: Admin Authentication! (Part 2)
updated
Very curious how much performance we can get out of this, if you have suggestions how to improve this even more let me know!!
--- links
benchmarking script: gist.github.com/joschan21/5d072cbc87c5eb814014cd562005e569
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
my SaaS: crotus.io
thank you for watching, really appreciate ya
--- links
live website: next-forge.com
this project on github: github.com/haydenbleasel/next-forge
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
my SaaS: crotus.io
thank you for watching, really appreciate ya
--- links
live website: https://next-faster.vercel.app/
this project on github: github.com/ethanniser/NextFaster
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
my SaaS: crotus.io
thank you for watching, really appreciate ya
--- links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
my SaaS (early access): crotus.io
thank you for watching, really appreciate ya
--- video links
none, its just an npm package :^)
--- links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
my SaaS: crotus.io
thank you for watching, really appreciate ya
⭐Clerk: link.joshtriedcoding.com/clerk
⭐Discord for questions/answers: discord.gg/4vCRMyzgA5
⭐GitHub Repo: github.com/joschan21/pingpanda
--- Highlights:
🛠️ Complete SaaS built in modern Next.js
💻 Beautiful landing page included
🎨 Custom artworks made by a professional illustrator
✉️ Real-time event messages via Discord
🖥️ Clean & intuitive event monitoring dashboard
💳 Secure payments using Stripe
🛍️ Customers can purchase your PRO plan
🌟 Clean, modern UI on top of shadcn-ui
🔑 Authentication using Clerk
⌨️ 100% written in TypeScript
🎁 ...much more
--- IMPORTANT
Since this video released, there's a new version of JStack. To follow along with the same version as in the video, use this clone command:
git clone -b preserve-old-master github.com/upstash/jstack
--- relevant links to follow along
Clerk quickstart: link.joshtriedcoding.com/clerk-quickstart
jStack repo (star if youre cool): link.joshtriedcoding.com/jstack/tree/preserve-old-master
Copy paste list (optional): github.com/joschan21/pingpanda/blob/main/COPY-PASTE-LIST.md
--- chapters
0:00 Intro
0:40 What you'll learn
3:42 Demo
10:54 Project setup
19:42 Landing page & reusable components
56:18 Creating our navbar w/ auth
1:26:55 Creating our fully featured discord UI
2:39:18 Creating our beautiful bento grid
3:50:52 Creating our auth pages
3:59:11 Database modelling
4:18:07 Syncing users to our database
4:30:07 Writing our first router
4:56:27 Creating our user dashboard
7:37:17 Creating our event details page
8:26:48 Discord integration for real-time messages
9:00:22 We got our first discord message!!
9:05:24 Finishing our event details page
10:06:39 Creating an advanced data table
10:28:28 Integrating secure payments w/ pro plan
10:59:31 Creating a beautiful pricing page
11:13:37 Final UX improvements
11:16:09 Payment thank-you modal
11:26:49 Creating our user settings pages
11:42:44 Integrating stripe webhook
11:47:39 Deployment
11:56:11 Final demo && we're DONE!!
Thanks so much to Clerk for making such a huge project possible by sponsoring this video!
⭐ STAR THE REPO IF YOU'RE COOL: stack.joshtriedcoding.com
-- my links
my SaaS: crotus.io
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- my links
my SaaS: crotus.io
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
blog article: nodejs-security.com/blog/how-to-protect-against-a-security-breach-in-react-server-components
-- my links
my SaaS: crotus.io
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
check the library out: motion-primitives.com
-- my links
my SaaS: crotus.io
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
This approach solves both, works very well so I wanted to share it with y'all
-- my links
my SaaS: crotus.io
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
check it out, would love to hear feedback: crotus.io
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
--- sources
tk_dodos blog article (great read!!): https://tkdodo.eu/blog/react-19-and-suspense-a-drama-in-3-acts
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- my links
my SaaS: crotus.io
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources
announcement post: https://x.com/adamwathan/status/1796582408621523320
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
i removed instagram i dont know why i thought that was a good idea
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
- type safe
- intuitive
- fast
The only downside I've discovered since is that it doesn't work for webhooks as they NEED to be an API, but other than that, god damn this is great.
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
⭐Kinde: link.joshtriedcoding.com/kinde
⭐Discord for questions/answers: discord.gg/4vCRMyzgA5
⭐GitHub Repo: github.com/joschan21/casecobra
⭐ my SaaS: crotus.io
Highlights:
🛠️ Complete shop built from scratch in Next.js 14
💻 Beautiful landing page included
🎨 Custom artworks made by a professional illustrator
💳 Secret admin dashboard to manage orders
🖥️ Drag-and-drop file uploads
🛍️ Customers can purchase directly from you
🌟 Clean, modern UI on top of shadcn-ui
🛒 Completely custom phone case configurator
🔑 Authentication using Kinde
✉️ Beautiful thank-you email after purchase
✅ Apple-inspired configurator design
⌨️ 100% written in TypeScript
🎁 ...much more
Copy & Paste list to follow along with the video (optional):
github.com/joschan21/casecobra/blob/master/COPY_PASTE_LIST.md
Thanks so much to Kinde for making this huge project possible by sponsoring this video!
-- Chapters
0:00 YO WADDUP
1:33 Demo
8:56 Getting started & basic design
19:56 Making a beautiful hero section
56:42 Authentication
1:06:24 Animated landing page section
2:00:00 Finishing our landing page
2:20:00 Creating our file upload page
3:35:53 Creating our configurator page
6:34:15 Creating our configuration summary page
7:28:33 Integrating secure payments
8:27:28 Creating an auth callback
8:50:20 Creating our stripe webhook
9:34:19 Creating our thank you page
10:30:00 Creating a secret admin dashboard
11:15:00 Writing our thank-you email
11:37:30 Final touches & improvements
11:47:45 Final deployment
11:54:00 Final review
11:59:00 Outro - thank you for following along!
-- links
website: https://www.profanity.dev/
github (leave a ⭐ pls thx): github.com/joschan21/profanity.dev
I'll post a complete build on this API on my second channel (linked below) soon!
-- my links
my SaaS: crotus.io
second channel (in depth videos): youtube.com/@Joshtriedupstash
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- links
tailwind signals: github.com/brandonmcconnell/tailwindcss-signals
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- links
blog post: planetscale.com/blog/the-problem-with-using-a-uuid-primary-key-in-mysql
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- links
ui library announcement: ui.shadcn.com/blocks
-- my links
second channel (in depth videos): youtube.com/@Joshtriedupstash
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources
antirez article: http://antirez.com/news/120
announcement: redis.com/blog/redis-adopts-dual-source-available-licensing
redis timeline: gomomento.com/blog/rip-redis-how-garantia-data-pulled-off-the-biggest-heist-in-open-source-history
-- my links
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- links for this video
fffuel: fffuel.co
coolors: coolors.co/palettes/trending
uilabs: https://www.uilabs.dev/
emil kowalski: https://emilkowal.ski/
-- my links
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- my links
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
I have a second channel now btw: youtube.com/watch?v=_cqFkK3WLvg
-- sources:
package: react-geiger
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources
announcement: twitter.com/cognition_labs/status/1767548763134964000
model comparison: cognition-labs.com/blog
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources
v4 announcement: tailwindcss.com/blog/tailwindcss-v4-alpha
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources
otp input: https://input-otp.rodz.dev/
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources
article: netflixtechblog.com/introducing-safetest-a-novel-approach-to-front-end-testing-37f9f88c152d
this week in react: thisweekinreact.com/newsletter/174
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources for this video
ui lib: ui.aceternity.com
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources for this video
hono: https://hono.dev/
cloudflare workers: workers.cloudflare.com
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
-- sources
primeagen interview: youtube.com/watch?v=iEzKs-B36WI&ab_channel=FrontendMasters
lucia article: github.com/lucia-auth/lucia/discussions/1231
-- my links
saas: animate-code.com
newletter: joshtriedcoding.com
discord: discord.gg/4vCRMyzgA5
github: github.com/joschan21
This project on GitHub: github.com/joschan21/next-analytics
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
TypeScript Playground (select "nightly" for the 5.4): typescriptlang.org/play
Great blog article: devblogs.microsoft.com/typescript/announcing-typescript-5-4-beta
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
tanstack router website: tanstack.com/router/latest
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
check it out here (or dont whatever): animate-code.com
also please dont blow up my server cause video processing takes lots of cpu thx :^)
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
-- my links
Newsletter: joshtriedcoding.com
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
Stay up to date with web dev: joshtriedcoding.com
-- my links
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
Stay up to date with web dev: joshtriedcoding.com
-- my links
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
Stay up to date w/ my newsletter: joshtriedcoding.com
-- my links
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
Maybe the best tech newsletter???: joshtriedcoding.com
-- my links
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
Maybe the best tech newsletter???: joshtriedcoding.com
-- my links
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
Repo I talk about in this video: github.com/Estifanos12/OpenType
-- my links
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21
-- my links
Discord: discord.gg/4vCRMyzgA5
GitHub: github.com/joschan21


