Exercises: Simple Web Server - Rest APIs In Depth

Published: 23 September 2023
on channel: Tech with Nader
810
37

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...

💬 Come join us on Discord to chat with a like-minded community about tech and learning:   / discord  

🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon:   / techwithnader  


Watch video Exercises: Simple Web Server - Rest APIs In Depth online without registration, duration hours minute second in high quality. This video was added by user Tech with Nader 23 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 81 once and liked it 3 people.