Deno has officially released and version 1.0.0 is now available! I want to show you how to create a simple, easy REST API using Deno.
Deno has officially released and version 1.0.0 is now available!
In this article, I want to show you how to create a simple, easy REST API using Deno. My mentor Flavio put together an awesome blog on his site that outlines all the details on Deno. I’m going to use one of his examples where he uses Oak and Deno to create a simple REST API.
Oak is a middleware framework similar to Koa.
So here’s a high-level overview of what we are going to do:
Throughout the process, we are going to use a program called Insomnia to test our API. Insomnia is similar to Postman.
I’ve been working with Restful APIs for some time now and one thing that I love to do is to talk about APIs.
APIs can be as simple as 1 endpoint for use by 100s of users or as complex as the AWS APIs with 1000s of endpoints and 100s of thousands of users. Building them can mean spending a couple of hours using a low-code platform or months of work using a multitude of tools. Hosting them can be as simple as using one platform that does everything we need or as complex as setting up and managing ingress control, security, caching, failover, metrics, scaling.
What is REST? The REST acronym is defined as a “REpresentational State Transfer” and is designed to take advantage of existing HTTP protocols when used
APIs - the current “big thing” - offer the opportunity for modern organizations to unlock new and lucrative business models. The article below covers some tips on how to spin the API flywheel and leverage its possibilities.
APIs are perceived as reliable—more than half of respondents stated that APIs do not break, stop working, or materially change specification often enough to matter.