Create An API: CORS, SPA / Client-Side Routing Explanation

Published: 02 November 2020
on channel: LearnWebCode
25,959
1.1k

Join my premium 2024 bootcamp here https://learnwebcode.teachable.com/p/...

In this video we learn how to create a basic API with Express. We cover how to make routes flexible with parameters and query-strings, how to work with incoming JSON, how to use Postman, how to make our API available from any domain (CORS policy) and finally we look at examples of how a front-end can leverage our API and client-side-routing to create a dynamic Single Page Application.

0:00 Intro
1:17 Getting Started
3:32 URL Parameters
7:57 URL Query-Strings
9:35 Receive Incoming JSON
11:47 Postman
16:41 CORS
25:05 Plain JS Client-Side Routing
31:38 React Router
37:43 Outro

This Lesson's GitHub Repo: https://github.com/LearnWebCode/youtu...

Playlist for this full series:    • Brad's Bootcamp - Free Coding Bootcamp  

Follow me for updates on new episodes:
Instagram:   / javaschiff  
Twitter:   / learnwebcode  
Facebook:   / brad-schiff-1542576316048470  
Twitch:   / learnwebcode  


Watch video Create An API: CORS, SPA / Client-Side Routing Explanation online without registration, duration hours minute second in high quality. This video was added by user LearnWebCode 02 November 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25,959 once and liked it 1.1 thousand people.