Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver2
4いいね 52回再生

EXPRESS.JS - Build a Simple API with Express.js from Scratch (Beginner Version)

Howdy folks! In this tutorial, get ready to unleash your inner developer and build a simple API using Express.js from scratch! We'll define routes and endpoints, and handle HTTP requests and responses with ease. This tutorial will help you level up your skills and get you ready to tackle more exciting projects. So, let's dive in and build something awesome with Express.js!

You can find the code we created during this video here:
github.com/XINX-Media/unblockme_video_examples/tre…

The npm command to install Express:
npm install express

Discord: discord.gg/CWEGMvgQPA
Twitch: twitch.tv/unblockmedigital
Calendly: calendly.com/robbertthecoderdude/15-minute-consult…

00:00 Intro
00:19 What is Express?
01:27 Installing Express
04:29 Creating the Express web server
06:29 Starting the web server with listen
07:00 Ports
08:28 Starting the web server with listen (part 2)
10:45 Creating a GET API/Route
11:49 Express route name
12:23 The route callback
14:01 Returning a string from the Route
14:32 Ping API
15:45 Testing the Route in the browser
19:09 Summary and Outro

コメント