5 Ways to Build a HTTP Server With Deno

Tom Nagle
5 min readMay 22, 2020

Deno’s growth has started to accelerate at an unprecedented rate. Partly because the creator is Ryan Dhal and partly because the JavaScript runtime looks extremely promising. Already, we have several different ways to create an HTTP server, the base for almost every modern application.

In this article we will explore five ways to create a HTTP server with Deno, using the standard library and four packages.

You can find all the code here: https://github.com/tomanagle/deno-http-servers

Note: None of these solutions is a great choice for a brand new application. Deno is not ready for you to risk your job with, so it’s best to wait a while before you start suggesting Deno for your company’s next big project.

Standard library

The Deno standard library provides a rich set of features that can be used as the building blocks for almost any application. Like most modern programming languages and runtimes, Deno‘s primary use will be web applications, specifically servers that interface over HTTP.

--

--

Tom Nagle

I am a full stack JavaScript developer, living in Melbourne, Australia. My preferred stack is Mongoose, TypeScript, Node.js, React & GraphQL.