Criando um projeto com Bun, Elysia e Better Auth do ZERO!
🚀 Take advantage of Rocketseat's paid courses, available for free until November 3rd https://rseat.in/aproveite-curso-grat... • Clear Code - React & Node • SEO for Devs • API with Bun • Social Media Positioning Important links for your career 👇 • Free resume template https://rseat.in/BvaPymjyj • Tech news curated by Rocketseat https://rseat.in/REv8aiBDM • I'm hooked on Bun & Elysia again! (API with Bun and Better Auth)    • Me rendi ao Bun & Elysia novamente! (API c...  Devs, tired of reinventing the wheel in authentication and creating a secure and scalable user system from scratch is a complex challenge? In this video, we embark on building a complete authentication system using Better Auth, the Elysia framework, and the Bun runtime, all in TypeScript. We explore integration with Drizzle ORM to manage the PostgreSQL database, ensuring all data remains under your control. We cover schema validation with Zod and the innovative Standard Schema initiative, which unifies validation APIs. You'll see how to automatically generate API documentation with OpenAPI and Scalar UI, as well as implement session-based authentication with cookie caching to optimize performance. 👉 By watching, you'll learn how to: • Set up a modern backend development environment with Bun and Elysia. • ​​Integrate Better Auth to manage users, sessions, and permissions. • Use Drizzle ORM and PostgreSQL for authentication data persistence. • Implement robust data validation with Zod and Standard Schema. • Generate interactive and automated API documentation. • Optimize authentication performance with session caching. • Create macros in Elysia for authenticated routes. Watch now and take your programming to the next level 👇 00:00 - 00:27 - What are Better Auth and Elysia? 00:27 - 01:23 - Why is Elysia better than Express? 01:23 - 01:55 - How to create an Elysia app with Bun? 01:55 - 02:44 - What is the structure of an Elysia project? 02:44 - 03:49 - How to create routes in Elysia? 03:49 - 05:21 - Elysia: Performance with TypeBox? 05:21 - 07:15 - What is Standard Schema and Zod? 07:15 - 08:32 - How to validate routes with Zod in Elysia? 08:32 - 09:28 - How to type responses in Elysia? 09:28 - 11:14 - Does Elysia generate Open API documentation? 11:14 - 12:25 - Better Auth: Full authentication for your API? 12:25 - 13:38 - What features does Better Auth offer? 13:38 - 14:49 - Better Auth: Pros and cons of using it? 14:49 - 16:14 - How to integrate Better Auth with Elysia? 16:14 - 17:06 - Configuring Better Auth: Environment variables? 17:06 - 18:15 - Drizzle ORM: How to use it with PostgreSQL? 18:15 - 19:19 - Configuring Drizzle ORM for Elysia? 19:19 - 20:41 - How to validate environment variables with Zod? 20:41 - 21:20 - Does Bun support TS config paths? 21:20 - 22:22 - How to configure PostgreSQL with Docker? 22:22 - 24:22 - Drizzle: Connection and snake_case schema? 24:22 - 25:44 - Better Auth: Integrate with Drizzle ORM? 25:44 - 27:38 - How to generate Better Auth schemas? 31:42 - 32:54 - Drizzle: How to run migrations with Bun? 32:54 - 34:29 - Elysia: How to use Better Auth as a plugin? 34:29 - 36:58 - Elysia: Create an authentication macro? 36:58 - 38:11 - Better Auth: Login with email and password? 38:11 - 40:29 - Better Auth: Manage sessions and cache? 40:29 - 43:37 - Better Auth: Document authentication routes? 43:37 - 49:03 - How to test Better Auth authentication? #Bun, #ElysiaJS, #BetterAuth, #DrizzleORM, #PostgreSQL, #TypeScript, #BackendDevelopment, #APISecurity, #Zod, #StandardSchema ----- Connect with 500,000 devs and take it to the next level with our platform: https://rseat.in/rocketseat_ Sign up for our platform: https://rseat.in/rocketseat_ Join over 392,000 devs in our Discord community:   / discord  Follow Rocketseat on social media: TikTok: @rocketseat Facebook: @rocketseat Instagram: @rocketseat

Seu prĂłximo back-end Node com TESTES! (+ SOLID)

8 Reasons To Try Better Auth

Build & Deploy an Enterprise AI Application | Full Project Tutorial

Billionaire's WARNING: I'm SELLING. The Crash Is Already Here!

Your Complete Guide To TanStack Start Authentication With Better Auth

3 - Fullstack Project - Macros in Elysia | Bun, Elysia, Drizzle ORM, PostgreSQL

Criando um formulário automatizado com Hook Form + AI SDK (Zed + Claude Code)

Better Auth is so good that I **almost** switched programming languages

Does your backend have pagination? Then check this out! (cursor-based vs offset-based pagination)

Inside Anthropic, the $965 Billion AI Juggernaut | The Circuit

Authentication in React with Better Auth (+ own backend with Bun)

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours

TUDO que vocĂŞ deve estudar de JavaScript antes do React

Hosting Node/Next apps on AWS with scaling (SST + ECS + Fargate)

Folder structure for Next.js (private and public routes)

Frameworks don't matter anymore...

Complex Schema Design with Drizzle ORM | Common Patterns

Bun (The Future of JavaScript) // Programmer's Dictionary

Master Senior Level Authentication In 4 Hours

