Stop Using Next.js API Routes (ElysiaJS Is Faster & Type-Safe)
For the longest time, I always used Next.js API routes, and to be quite honest with you, it was always enough. Well, at least I thought so. Recently, I started using ElysiaJS as my backend framework, and honestly, it's a game-changer. It's super fast: 20 times faster than Express, it's fully type-safe from server to client, it has complete type integrity, first-class OpenAPI support and I would honestly say it's the best JavaScript backend framework on the market right now. And since it's WinterTC-compliant, it even works on Vercel with Next.js running in the same server process, meaning we get an even faster application. 📸 Screen Recording Software: https://dub.sh/eDa47SO 🔒 My favorite Auth Solution: https://dub.sh/xeU8r3v 🌍 My Website: https://marshalcode.com/ 👋🏻 Discord: / discord ✅ Follow me on X: https://x.com/janmarshaldev 📧 Business ONLY: [email protected] Timestamps: 00:00 Intro 00:54 Elysia JS Speed (It's SUPER FAST) 02:50 Game Changing Features (e.g. Type Safety, OpenAPI, WinterTC etc.) 08:00 Defining Type-Safe API Endpoints 10:40 Complete Type Integrity (Schema is Source of Truth) 15:20 Converting TypeBox to Zod (Total Flexibility) 16:45 Implementing OpenAPI Support (Using Plugin) 20:00 OpenAPI from Types 22:00 Defining Private Endpoints with Macro 28:00 End-to-End Type Safety Using Eden (RPC-Like Client) 33:00 My Honest Thoughts

Elysia JS Overview

Why AI Agents are either the best or worst thing we’ve ever built

Every Next.js Concept Explained in 1 Hour

This NEW Next.js Feature Is a Game Changer (Cache Components)

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

It finally happened

Project walkthrough | Elysia, Bun, Drizzle ORM, PostgreSQL, Docker

Next.js Caching & Rendering Tutorial – Full Course for Beginners

Why's nobody using Astro?

Real-Time WebSockets Course | Build a Live Sports Dashboard with Node.js & PostgreSQL

Next.js 16 Just Changed EVERYTHING (Cache Components, MCP, Proxy, Turbopack)

How Senior Developers Actually Code With AI

Master Next.js 15 in Just 3 Hours (With Authentication)

This is the BEST Way to build Agentic AI Apps

Why Your Next.js Application is Slow (And How to Fix It)

Next.js 16 Full Stack Course (8+ Hours) | Auth, Caching, Server Actions & Much More

Fable 5 is SABOTAGING AI Labs...

Bun just killed Node.js

Co-Creator of Haskell: Useless vs Useful Languages, Rust vs C, Functional Programming | Simon Jones

