Build an API server with TypeScript

preview_player
Показать описание
In this video, learn how to create a REST API using the Hono framework with Deno. We cover the process from setting up the project, creating routes, and managing data through a simple CRUD application. Using Hono with Deno makes it easy to build a scalable API that can be deployed to your favorite hosting provider.

00:00 Introducing the Hono Framework
00:21 Setting Up Hono in Your Project
00:47 Creating Basic Routes with Hono
01:34 Building a Simple Database
02:30 Interacting with localStorage
05:05 Creating REST API Routes
07:55 Handling PUT Requests
09:59 Implementing DELETE Functionality
11:23 Where to Deploy Your Hono Application

Deno is an all-in-one batteries included JavaScript and TypeScript toolchain.

Рекомендации по теме
Комментарии
Автор

Nice video, would be nice a video about how to deploy using both options mentioned at the end 🦕

carlosdelgado
Автор

Hi! Do you recommend Hono over a Deno-only implementation of a REST API server? I followed a tutorial the other day that just used Deno's inbuilt server features and it worked a treat. I'm trying to unblur the line of what all I could/should use Deno and its standard library for vs. bringing in other Thanks so much for the tutorial; I'm really enjoying Deno thus far. =)

StephenChapman
Автор

What happens on deno deploy in the free version when the 1M request are reached?

mzhomie
Автор

even though it’s catered more to Deno Deploy, I would really love to have more clarity on how to deploy this exact stack to AWS Lambda - tried the official guide but Hono is unable to get the proxied HTTP request from the API Gateway. Deno is just so suitable for lambdas that I would really love to adopt it for everything lambda related 😃

rafaelrocha
Автор

Am i too tired or is local storage being used on server 😮

JuicyBenji
Автор

Day 15 of waiting for NestJS support 🙏

parlor
Автор

Wait a sec, localStorage on the server? What is this? Why is that? What are the use cases?
I'm so confused

aghileslounis
Автор

Can somebody explain to me how this works in production. I'm coming from PHP, Nginx setup on FreeBSD.... My understanding is that 1.) I need to have deno installed on my freeBSD server, and running as a background process? 2.) I need to configure deno to serve the hono application? 3.) configure cloudflare DNS ?

GuiseppeZanotta
Автор

Yes, let's fracture the JS ecosystem even further

SR-tijj
Автор

make a nestjs tutorial, it's what everyone wants to use not hono.

cloudcoding
Автор

LocalStorage 😮. I'm missing something

djasnive
welcome to shbcf.ru