Exercise: Create a REST API

Implement a complete REST API using Deno and Oak in this practical exercise.

We'll cover the following

The coding exercise below implements a complete REST API server. The server exposes some endpoints to manage fictional employee entities. With these APIs, our server will provide CRUD actions (C = Create, R = Read, U = Update, D = Delete) to any connected client.

Note: For the sake of simplicity, authentication mechanisms have been omitted from the exercise.

In the widget below, we can find the main project structure to realize our first Deno web server. This example lacks portions of code, and it is your task to complete them.

At the end of the exercise, you’ll have developed a fully functional web server with CRUD endpoints!

Get hands-on with 1200+ tech skills courses.