Back to Browse

Build your first RESTful service with Express.js - Tutorial

624 views
Sep 3, 2022
15:26

Part 3 of our MEAN application series will incorporate Express.js into our application. Express will allow us to add valuable middleware into our backend service to register different endpoints for our backend service to provide unique data responses to. We will begin to connect our Angular static webpages to the backend by registering URI's with express and by formatting and returning data. In Angular, we will use the http package to make back-end calls to the node server to retrieve the data. We also dive into CORS policy and what it means to our application. 🕒 Timestamps 🕒 00:00 - Introduction 00:22 - Getting started with Express 04:08 - Using next() 05:03 - Registering URI's 05:50 - Migrating Data from Angular to Express 07:48 - Angular HTTP requests Link to source code: https://github.com/4neesh/MyDiary Please like, subscribe and leave a comment to let me know what you think! Visit my website for all my blogs and videos on software engineering: www.aneesh.co.uk Icon made by FreePik from www.flaticon.com

Download

1 formats

Video Formats

360pmp421.8 MB

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

Build your first RESTful service with Express.js - Tutorial | NatokHD