In this article, we’ll be looking at creating a REST API using Deno, Oak framework and its Router. We will also be testing our API using Postman in Chrome or RESTClient in Firefox.

In the previous article, we have learned about what is deno, it’s advantages. If you haven’t read yet check here.

Let’s take a look at the API we want to build and what it can do.

Let’s build an API that will:

  • Handle CRUD for an Locations.
  • Use the proper HTTP verbs to make it RESTful (GET, POST, PUT, and DELETE)
  • Return JSON data.

Installation:

I am…


This article is aimed for beginner developers and anyone interested in getting up and running with Deno. Before diving into this article, you should be confident enough with JavaScript to know the basic concepts of the language. Technical terms regarding Deno will be explained and linked below.

What is Deno?

A secure runtime for JavaScript and TypeScript.

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Installation

Deno works on macOS, Linux, and Windows. Deno is a single binary executable. It has no external dependencies.

Download and install

deno_install provides convenience scripts to download and install…


Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Deno is also a very new, exciting technology.

It’s a JavaScript runtime, which we’re gonna talk about. But what does it all mean? Why should we be excited about Deno and why should we even care?

Well, if we go to the Deno Website , we get a bunch of buzzwords.

Deno js
Deno js

Features of Deno

  1. Secure by default. No file, network, or environment access, unless explicitly enabled.
  2. Supports TypeScript out of the box.
  3. Ships only a single executable file.
  4. Has built-in utilities like a…

Poornima

Full stack Developer- I help aspiring and established web developers take their coding skills to the next level.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store