Back to Browse

Exercises: Simple Web Server - Rest APIs In Depth

1.3K views
Sep 23, 2023
44:39

Let's go through some exercises to get practice setting up a web server in Deno together. We start with a simple 'hello world' server to get things warmed up. Then, we look at how we can dynamically respond with the request's method and url as well as add some logging to our server. For the second exercise we look at how we can send and format JSON responses. This is something we'll be doing a lot of through this course. We follow this up with sending back HTML and debugging some errors as well. Chapters: 00:00 Introduction 00:35 Warmup Exercise - Hello World Server 07:08 Exercise 1 - Request Method and URL 16:02 Exercise 2 - JSON Responses 27:40 Exercise 2 - HTML Responses 43:25 Next Steps 📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/rest-api-in-depth 💬 Come join us on Discord to chat with a like-minded community about tech and learning: https://discord.gg/K4nkugP7Gd 🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon: https://www.patreon.com/TechWithNader

Download

1 formats

Video Formats

360pmp490.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Exercises: Simple Web Server - Rest APIs In Depth | NatokHD