The fastest way to build Discord apps (with hosted Node.js and Postgres)

Опубликовано: 25 Март 2026
на канале: Gadget
6,339
70

Gadget has been updated, and this tutorial may not work without some modifications. See the blog post for the most up-to-date version of this tutorial: https://gadget.dev/blog/building-disc...

Riley builds Discord's "Getting started" app using Gadget in under 5 minutes, then explains some of the advantages of using Gadget to build Discord apps, including a hosted and scaled Node backend and Postgres database, and an auto-generated CRUD API for custom data models.

Follow along using: https://discord-getting-started.gadge...
Discord's "Getting Started" guide (along with sample code): https://discord.com/developers/docs/g...

Chapters
00:00 Intro
00:23 Step 1 - Creating an app (+ installation)
02:03 Step 2 - Running your app
04:05 Step 3 - Handling interactivity
05:02 Step 4 - Adding message components (register commands)
05:40 Done! Play rock, paper, scissors!
06:05 Gadget details - Postgres and Node backend
08:20 Deploying to production + outro