Node.js gives you the ability to run JavaScript files on the server-side. Express is a library for Node.js, that allows you to make requests to different "endpoints" and get a response back.
Traditionally, JavaScript is a browser-side programming language. However, Node.js gives you the ability to run JavaScript files on the server-side. Express is a library for Node.js, that allows you to make requests to different "endpoints" and get a response back.
In this tutorial you will learn how to:
Set up a project with javascript using Node.js and NPM
Send JSON data using Express
Test your API using PostMan / VSCode rest client plugin
Secure your routes with middleware
GitHub Learning Lab
https://lab.github.com/everydeveloper...
Timestampes
0:00 Intro
0:57 GitHub Learning Lab start
1:21 Javascript can be run on the server using Node
1:34 What are RESTful API end points
2:21 Clone the repo using the git CLI
2:52 Initial the npm project
3:04 Add express as an npm dependency
3:18 Git commit and push changes to the repo
4:34 Create the express server
6:07 Express route (routing) - GET request
7:34 Express routing variables to retrieve a resource
9:06 Express POST end point
10:52 VSCode RESTful client
How to create an API in javascript with Node and Express using GitHub Lab #OpenSource #DevRel
--------------------------------------------------------------------------
A BIG thank you to my GitHub Sponsor:
Stephen Mount http://github.com/stemount
--------------------------------------------------------------------------
Don’t forget to support my channel by subscribing below, it’s free, and also share with your friends. Subscribe now!!
http://youtube.com/eddiejaoude?sub_co...
Follow on other socials for behind the scenes footage, join discord to continue the conversation...
http://eddiejaoude.co.uk
https://github.com/eddiejaoude
/ eddiejaoude
/ eddiejaoude
/ eddiejaoude
/ eddiejaoude
/ discord
Auf dieser Seite können Sie das Online-Video How to build an API in javascript with Node and Express using GitHub Lab mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Eddie Jaoude 17 November 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 633 Mal angesehen und es wurde von 47 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!