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

  Рет қаралды 25,943

LearnWebCode

LearnWebCode

Күн бұрын

Пікірлер: 46
@friedegg8695
@friedegg8695 2 жыл бұрын
This is awesome. It helped me so much to understand how the frontend and backend works together which I have been scrapping my head on for the past 1 months, deleted my final year project 3 times, lost all hope. Thank you so muchhhhhhhhhhhhhhhhhh
@makalamin552
@makalamin552 2 жыл бұрын
Best tutorial ever! Thank you Brad for your hard work. Will you make a series on headless WordPress and Gatsby?
@libertad83y
@libertad83y 3 жыл бұрын
Brad you are a NBT! (Natural Born Teacher)! :-)
@_rachid
@_rachid 3 жыл бұрын
Thank you
@abessesmahi4888
@abessesmahi4888 3 жыл бұрын
Great content! Subscribed
@harsharaman9394
@harsharaman9394 3 жыл бұрын
Talking about CORS, even Postman blocks PUT requests before cors is enabled.
@talhamikaaiyl5483
@talhamikaaiyl5483 2 жыл бұрын
Instead of Postman, I use the Thunderclient extension in VS Code
@sideshowlol
@sideshowlol 3 жыл бұрын
Thank you Brad. 🙏🙏🙏 The way you walk us through these explanations is fantastically helpful. I have your React Udemy course now. Just wondering... Because everything changes so quickly in the world of web development, is it best to learn React or VueJS first? Is there enough carry over from learning to use React to enable me to pick up VueJS quickly? I ask because I have the chance to get involved in a project that is using VueJS as the front-end framework and the devs are keen to use Vue because they say it is very lightweight and fast.
@saneyarkhazin7671
@saneyarkhazin7671 3 жыл бұрын
React is more popular and has more job openings. Personally I haven't used Vue, but from what I hear, its quite mature and really revolutionary. You can pickup anything you put your mind to. React and Vue both have their learning curves. Try both of them and see which one you like and stick to it
@dennisroshan
@dennisroshan 3 жыл бұрын
How did you ingest the react application into the express app? Can you explain that in detail please?
@msvmanikantasrivishnu7788
@msvmanikantasrivishnu7788 3 жыл бұрын
Thank you....
@felixn.995
@felixn.995 3 жыл бұрын
Hey Brad! Need your help about your To-Do list JS App in the course on UDEMY Please! When the input is empty and I click "Add New Item, the item appears in the browser without text! ONLY Buttons appear! How to prevent this please? Thank you!
@LearnWebCode
@LearnWebCode 3 жыл бұрын
Hi! We didn't add validation to that simple example, but do to so you could just wrap the action that adds it to the page inside an "if" statement and for the condition just use the input field's value, as long as it's not empty it will evaluate to true. You could also call .trim() on the input field value so that if someone hits the space bar and no real text, it would account for that as well.
@michaelwoodward1843
@michaelwoodward1843 3 жыл бұрын
Dude you’re a beast. I’ve been following your teaching content for a little over a year now and I am just completely amazed at how much free education you have just given away. Amazing. Props. Thank you!
@AgraGames
@AgraGames 3 жыл бұрын
Hey Brad, thanks for the content! Do you intend to launch a premium course of a bootcamp like this one?
@mr.o5577
@mr.o5577 3 жыл бұрын
Hi Brad sorry to bother but I have a bit of an issue, can you help? I built a SPA just like yours but now I face the deployment problem, now, how can I deploy a SPA just like the one you build on netlify or heroku? My problem is that the app has a backend where the routes are and the app needs it in order to hit the routes, i deployed all the files to netlify and heroku but no good, what to do? If anyone besides Dom in here knows please help me I am at lost.
@damirrekic4271
@damirrekic4271 3 жыл бұрын
I truly appreciate your hard work. 👍
@codingwithkenny6492
@codingwithkenny6492 3 жыл бұрын
You just got another subscriber! I've said this before, but you're an absolutely amazing teacher. I used to struggle on some of these concepts you're teaching us but thanks to your crystal clear explanations, I'm able to follow along throughout the entire video and actually understand what's going on! Hope you have a great day! :)
@bellamorgan3898
@bellamorgan3898 3 жыл бұрын
Thanks to *hacker_mosco* he help me to recover my Facebook and instagram account in less than 30 minutes time i really appreciate an very grateful you are the best
@bellamorgan3898
@bellamorgan3898 3 жыл бұрын
Thanks to *hacker_mosco* he help me to recover my Facebook and instagram account in less than 30 minutes time i really appreciate an very grateful you are the best he is a life saver
@akramkarani4083
@akramkarani4083 3 жыл бұрын
the best bootcamp out there !!!!
@WebDevMastery
@WebDevMastery 3 жыл бұрын
You are Great ❣️, Please Create Videos on react Hooks , especially Context API , You can save us Many hours with your just one video Please Please
@LearnWebCode
@LearnWebCode 3 жыл бұрын
Thanks! My "React For The Rest Of Us" course covers hooks, and especially useContext. Combining useReducer with useContext creates a really powerful way of working with state. I added a link to the course towards the top of the description of this video (with a coupon code with the lowest possible price).
@v518_mcpe2
@v518_mcpe2 3 жыл бұрын
Excellent, as always
@SuperAlexey1983
@SuperAlexey1983 3 жыл бұрын
Where was the cat?
@rishibhatia900
@rishibhatia900 3 жыл бұрын
Awesome series
@areyoukidding6274
@areyoukidding6274 3 жыл бұрын
Hi brad, @19:55 how is it possible to access your localhost from codepen? how does DNS find it as ur IP address? and one more question, the CORS is for protection of the server or for the protection of browser? because @0:27 u mention CORS belongs to browser but when you explain at CORS timestamp it seems like servers are actually blocking it.
@ManontheBroadcast
@ManontheBroadcast 3 жыл бұрын
What is the purpose of the HTTP verbs (GET, POST etc.) when you can do whatever you want in the callback? ... I mean does a GET request has different properties from a POST request?
@runningfox4049
@runningfox4049 2 жыл бұрын
Hi Brad, just a quick thank you for these wonderful tutorials a. You somehow manage to explain things more fully whilst simultaneously making them easier to digest and understand. That's a huge credit to your genius. and to top it all off, much of it made available for free. A real hero to many of us. Keep up the great work my friend. Regards, Simon, from Leicester UK. home of the mighty foxes !!
@thecscontent5110
@thecscontent5110 3 жыл бұрын
I also do videos about coding!😁🎬💻
@bz6304
@bz6304 3 жыл бұрын
wow... this is exactly what i am looking for. so helpful. Thank you. will get your course on udemy
@maxxinmaze4501
@maxxinmaze4501 3 жыл бұрын
Thank you brad....you cleared all of my doubts!❤
@karthickm8351
@karthickm8351 2 жыл бұрын
Thanks Brad, I learnt quite a lot from this video. Like someone said in one of the other comments, you are an amazing teacher.
@whoman7930
@whoman7930 3 жыл бұрын
I want to learn Next.js in the next video pleaseee!!!!
@paulwright205
@paulwright205 3 жыл бұрын
Just totally brilliant - thanks Brad
@ghaxxx8883
@ghaxxx8883 3 жыл бұрын
I wish I can be a great teacher just like you one day :(
@Kinho88
@Kinho88 3 жыл бұрын
wonferful ! thank tou so much !
@shahriarparvezshuvo4760
@shahriarparvezshuvo4760 3 жыл бұрын
Where is my Guest? Is she alright? 🤔 I believe, A NextJs crush course after this, Would be a great content for us. 😍 Thanks again for the series. Stay safe, Brad. ❤️
@LearnWebCode
@LearnWebCode 3 жыл бұрын
😂 I think she was sleeping during this one. Thanks! I'd like to do a Next.js video at some point 🙂
@shahriarparvezshuvo4760
@shahriarparvezshuvo4760 3 жыл бұрын
@@LearnWebCode I don't know, whether there is a magic in your teaching style or not. Lot's of the things I don't get at the first time, after watching your video, it always feels like, they are naturally coming out of my brain while I'm coding. I'm not gonna experiment with Nextjs unless you're introducing me to it. 😂
@gbbowler
@gbbowler 3 жыл бұрын
I get using Express to set up a local host/server, but what happens to Express and the Express code when you want to upload your site to a real web host? Do you have to change your code before doing so? Or what happens to all the code that used Express?
@LearnWebCode
@LearnWebCode 3 жыл бұрын
Just like we use "npm install" to install Express and other packages, and just like we use the "node" command to start running the file/app on our personal computer, we also do that on the host/server. In the next video we'll use Heroku which automates the process for us, but essentially we give them all or our files, in a Git repo, (we can configure Git to ignore the node_modules folder) and the Heroku service automatically looks at our "package.json" file and downloads the files on their hardware and then starts up our Node/Express task for us as well.
@whoman7930
@whoman7930 3 жыл бұрын
@@LearnWebCode I can't wait for the next video.... OMG!!
@gbbowler
@gbbowler 3 жыл бұрын
@@LearnWebCode Thanks for the reply. That clears things up for me. I've only been at this a few months, and I've not heard that explanation before.
Heroku Express App Vs Netlify Serverless App - Free Node.js Hosting
32:28
MongoDB Basics, CRUD and Node.js Integration
43:29
LearnWebCode
Рет қаралды 34 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,9 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 107 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 9 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 89 МЛН
Learn Express.js In 48 Minutes: Web Server Tutorial
47:39
LearnWebCode
Рет қаралды 57 М.
5 Tips To Get A Job in Web Development: Career Advice
10:26
LearnWebCode
Рет қаралды 25 М.
Cookies, Sessions, JSON Web Tokens (JWT) and More 🍪🔐
46:41
LearnWebCode
Рет қаралды 106 М.
Creating an SPA Router in Vanilla JS
3:42
Mitch Dev
Рет қаралды 76 М.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Two Minute Papers
Рет қаралды 198 М.
JSON and AJAX Tutorial: With Real Examples
40:45
LearnWebCode
Рет қаралды 1,8 МЛН
Build A Full Stack Chatbot in Rust (feat. Leptos & Rustformers)
43:40
Code to the Moon
Рет қаралды 160 М.
CSS Layout: Flexbox & Grid Basics
55:52
LearnWebCode
Рет қаралды 85 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,9 МЛН