Try Requestly For FREE: https://requestly.com Hono is an amazing library that makes building type safe backend APIs incredibly easy. In this video I will show you how to build a fully type safe API from scratch that utilizes email/password auth, JWT, and API keys to secure the application. I will also show you how to use Requestly to make testing your API so much easier. 📚 Materials/References: GitHub Code: https://github.com/WebDevSimplified/hono-api-with-auth-crash-course 🌎 Find Me Here: My Blog: https://blog.webdevsimplified.com/ My Courses: https://courses.webdevsimplified.com/ Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified ⏱️ Timestamps: 00:00:00 - Introduction 00:01:15 - Hono Setup 00:02:37 - Basic Routing 00:08:32 - Requestly Setup 00:10:24 - Author CRUD Implementation 00:20:00 - Automating Requestly 00:25:58 - Database Setup 00:41:25 - Auth/JWT Setup 01:02:53 - API Key Setup 01:30:55 - Book CRUD Implementation #Hono #WDS #Requestly
ADVERTISEMENT
I did this with AI as a comparison, and it improved or fixed many issues in his code. There was no logout API leaving tokens in the browser that someone can use for 5 minutes, logging of the API key in plain text on the server, issues with case sensitivity of registered user emails, race conditions in places, ssl disabled in db connection, the /delete took the createKeySchema as input for no reason so a normal HTTP delete would have failed, it was missing validations on some inputs (like UUID format), it had inconsistent 404 error format responses, slightly incorrect 201 responses, a version of hono with known exploits, etc. Somewhat ironically for this channel, AI was a better choice for learning this.
It is literally painful to watch someone go back to writing code character by character as if AI isn't a thing. There has to be a happy medium, where you use the tools, and still impart knowledge to the viewer quickly and effectively.
Let's appreciate Kyle giving out real useful knowledge in 2026 ♥
Done & It was Great!
Great! Nice to know Hono!
An hour and half long tutorial of codiing in 2026! This is rear. Kudos to you!
Keep up the good stuff man. Really revealing again to see someone coding from scratch. :) I can fully relate to this. I am doing most coding also on my own.
This was really good! And requestly is a clean tool for testing APIs
Learning Hono, too, but with Bun as the pm and runtime. I’m doing it to see whether or not I like it better than Elysia haha. It’s been a joy, though.
whats wrong with tsrest and fastify?
Amazing job Kyle. This brings back memory of how fun coding should be.
Wow! Man I love you. People like you are the saviors
keeep it uppp!!!!!!
This is very informative, Thank you.
make no mistake
Keep it up!!! Would love to see some senior stuff. AsyncQueue, Background Tasks…
I usually use Ad blocker, But for you I have turned off the adblocker. Thank you for you contribution.
Would you like to do a express js and like SQL for auth and authors? Why did you use scrypt instead of something like bcrypt?
Thank you verify much keep it up please, I really appreciate it
I still watch your videos to brush up my fundamentals. These videos are really valuable