How to Create a Express/Node + React Project | Node Backend + React Frontend

  Рет қаралды 472,744

Arpan Neupane

Arpan Neupane

Күн бұрын

Hey guys, welcome back! In this video, I will be showing you how to create a project with an Express/Node backend and a React frontend. We will set up a backend API with Express that returns an array of users and in the frontend, we will fetch that backend and display the same users onto the frontend.
If you don't know what Node is, Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. If you don't know what Express is, Express is a web framework for Node.js. It provides a robust set of features for building web applications, including routing, views, templates, and more.
If you don't know what React is, React is a JavaScript library for building user interfaces. It is maintained by Facebook and Instagram. React's declarative, efficient, and flexible nature make it an ideal choice for building user interfaces.
My Website: arpanneupane.com
My GitHub: github.com/arp...
Official Express Documentation: expressjs.com/
Official React Documentation: reactjs.org/
My Programming Gear :
Keyboard: amzn.to/42vXkxh
Laptop: amzn.to/3CkAP3W
Laptop Stand: amzn.to/3X116Oi
Desk: amzn.to/43wmIEt
Monitor: amzn.to/42BAaFH
Monitor Arm: amzn.to/3NR0APS
Chair: amzn.to/42vvKAn
Desk Mat/Mousepad: amzn.to/43AhKqj
Microphone: amzn.to/45RuQ43
Headphones: amzn.to/445sf4R
#Express //#Node //#React // #LearnToCode

Пікірлер: 566
@undertaker9138
@undertaker9138 2 жыл бұрын
Absolute legend, explained it way faster and clearer than other tutorials. Thanks a million.
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank YOU for your support!
@selva1419
@selva1419 2 жыл бұрын
Yes bro...superv explaination.. short and sweet
@praisennamonu76
@praisennamonu76 5 ай бұрын
for me who wants to connect a website front end with the backend, i disagree. for simple applications, yh. but it isn't enough to cover for large projects
@Rashomon69
@Rashomon69 Жыл бұрын
25 years a dev, here. This was just the right amount of detail. Quick, clean, and concise. Subbed!
@dlove1219
@dlove1219 2 жыл бұрын
I'm in a coding bootcamp and your explanation was simpler and easier to understand. I learned more in your 12 minute video than in the 12 videos on this subject in my bootcamp. Thanks!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Awesome!
@severance1073
@severance1073 4 ай бұрын
What bootcamp were you in???
@nathanpetain9079
@nathanpetain9079 2 жыл бұрын
Literally fixed my lack of knowledge in 12 minutes! Thank you dude!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Of course dude!
@jasondemuro6882
@jasondemuro6882 2 жыл бұрын
I have been looking for just a dead simple explanation for how to get a project like this started for a while and I just found this. Dude it’s awesome. Thanks for such a trimmed down streamlined explanation!
@smokecrack520
@smokecrack520 Жыл бұрын
This is still relevant even after 2 years (node has had many changes and so has React) for anyone wondering :) Thanks man
@eborders100
@eborders100 Жыл бұрын
thanks so much for this - I learned about web development through a bootcamp and they were so focused on just getting us up and running that we didn't get a lot of explanation to the specifics of what express was doing and how the client was getting data from the backend. This definitely cleared things up
@fenix20075
@fenix20075 2 жыл бұрын
I love this simple, straight forward description to display all these kind of powerful tools' functions and how it could be.
@ET_Bermuda
@ET_Bermuda 2 ай бұрын
Hey, I know it's been a long time since you've made this video, but I just want to say thanks. I always return to this vid whenever I start a new project just to make sure that I get it right every time. Big thanks, man!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 ай бұрын
Thank you for the continued support :)
@jeremyrivera7615
@jeremyrivera7615 2 жыл бұрын
The actual GOAT. I was wondering what the heck I was doing well since i started an ambitious early project but you gave me my confidence back
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank you!
@sahilchowdhury2229
@sahilchowdhury2229 Жыл бұрын
This is crazy clear. I literally never comment on youtube videos, but I was working on something exactly like this and this was absolutely perfect! It's like you knew what I was thinking!
@hrushikeshtawde360
@hrushikeshtawde360 Жыл бұрын
Legend bhai saw a ton of tutorials for hosting my api but yours was way too clean. Thanks a ton
@agentebimene3737
@agentebimene3737 2 жыл бұрын
Wow!! Teaching what seems to be difficult to many in a very relatable and brief way such as this is not something that is common in the world. I must add that this tutorial of yours is priceless. Keep it up
@abubalo
@abubalo 2 жыл бұрын
Eloquently explained. No wasting of time. Just fun to watch.
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank you!
@PatrickRuckman-z5d
@PatrickRuckman-z5d Ай бұрын
I just found this, it was really good! It took me an afternoon, but I got my app working! I learned a lot.
@Newstatejournal1
@Newstatejournal1 Жыл бұрын
Excellent! All the other learning resources I have come across make the assumption that the student already has the same mental picture of the files and folder setup as the teacher has. Your video is clearest to me so far because I see the folders and files in Visual Studio explorer on the left and although I am not 100% sure, I think those folders and files represent the actual folders and files on the hard drive. What must be installed where is more clear to me now.
@ArpanNeupaneProductions
@ArpanNeupaneProductions Жыл бұрын
You're right!
@xinwang4973
@xinwang4973 2 жыл бұрын
for the mac users, if you have address already in use error,Apple introduced some changes for AirPlay on macOS Monterey. Now, it uses 5000 and 7000 ports. If you are using these ports in your project, you need to disable this feature. System Preferences > Sharing > untick AirPlay Receiver
@TheInternalNet
@TheInternalNet 11 ай бұрын
THIS IS THE VIDEO I HAVE SPENT WEEKS LOOKING FOR!! Thank you so much.
@bigPauliee
@bigPauliee Жыл бұрын
could have watched an 8 hour code camp but i got exactly what i wanted to know from right here, cheers man
@moestaxx286
@moestaxx286 Жыл бұрын
the fact that you are 15 is super impressive bro. keep up the great work.. learned a lot from you.. you will have a very bright future young g!
@aosabi_kuro
@aosabi_kuro Жыл бұрын
I am watching from Japan. The explanation was very easy to understand. Thank you so much for creating useful videos.
@isragaytan
@isragaytan 11 ай бұрын
Thats a huge and a great explanation. Coming from the Data Engineering world Finally i understand Node, React and so on. God Bless you.
@DeadBabyFoetus
@DeadBabyFoetus 2 жыл бұрын
The most concise video I've came across of connecting front-end to back-end, earned a subscriber!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank you!!!
@jamesorior
@jamesorior 2 жыл бұрын
@@ArpanNeupaneProductions This video is the best. This is how development should work. Most developers don't know shit, they just like to flex their muscles and do simple things in a complicated way for ego purposes. Would like to see how you implement Cordova Frontend and Express NodeJs Backend. Sure it would be similar. Nice video again
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
@@jamesorior Thank you very much for your support. I haven’t used Cordova Frontend at all, however, you can use the same methodology described in the video. You can try finding a configuration file that can link with the Node backend via the API URL, then set up the backend the same way it’s set up in the video, and finally find a way to call the API in Cordova to display the data on the screen. Again, thank you for the support :)
@kumarutsav1123
@kumarutsav1123 11 ай бұрын
Humanity is prospering all because of contribution of people like you. Thanks
@tally3018
@tally3018 2 жыл бұрын
Maan I was searching like crazy to find something like ths, this is the first guide / tutorial that actually works!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank you!
@dirtman207
@dirtman207 2 жыл бұрын
thanks a lot man, I was trying to connect my front with my back and I had no idea, this tutorial is very clear and concise, thanks for what you did
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
You’re welcome!
@designordu159
@designordu159 2 ай бұрын
concise, coherent, short, properly structured.. thanks a lot for this video
@cmlra
@cmlra Жыл бұрын
An absolute expert, they explained the information in a much quicker and more concise manner than other tutorials. Thank you so much.
@thedude121212
@thedude121212 Жыл бұрын
Great tutorial. I spent days trying to figure out how to connect BE and FE, and this video finally explained it clearly.
@tanakachidemo
@tanakachidemo Жыл бұрын
Thank you so much for a very clear and concise video. I have been learning a lot of these tools in isolation. It's good to see how they all fit together. Great work!
@StevieComyn
@StevieComyn 9 ай бұрын
Thank you for discribing this relationship clearly, I was struggling with getting backend data to the frontend, Liked and Subscribed!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 7 ай бұрын
Thanks for the sub!
@kirillshevchenko7677
@kirillshevchenko7677 2 ай бұрын
FINALLY i solved this problem THANK YOU SO MUCH
@alessandrorotondo1906
@alessandrorotondo1906 2 жыл бұрын
Up-to-date video as today 29th september 2022, super helpful, I finally figured out how to connect a React client with an Express server. Big up!
@bleulejour
@bleulejour 2 жыл бұрын
Legend! super simple, concise and straight to the point. It would be nice to have tutorials about MERN from you :-)
@sh44ko58
@sh44ko58 2 жыл бұрын
First and best tutorial with Node and React without indian talk, and bullshit talk. Thanks alot mate ! Keep up with this type of great content.
@JusticeTalksTech
@JusticeTalksTech 2 жыл бұрын
That was great short and to the point video on how full stack looks like on a simple level. Very helpful
@and_rotate69
@and_rotate69 Жыл бұрын
i came from 0 bg in express and react api's, left with 100% of new information sound and clear
@malikabdullah7709
@malikabdullah7709 3 жыл бұрын
Thanks for this amazing video. it helped me understand, how frontend & backend exchange data. Thank very much
@ArpanNeupaneProductions
@ArpanNeupaneProductions 3 жыл бұрын
You're welcome!
@ΤασουλακοςΤασουλινος
@ΤασουλακοςΤασουλινος 3 ай бұрын
Great video I couldn't connect my front-end and back-end "system" for months until now thank you!
@dallas8598
@dallas8598 Жыл бұрын
Real helpful! Thought setting up an API was much harder but you made it look very easy!
@shawn.builds
@shawn.builds 2 жыл бұрын
I watched a couple of tutorials and this was the best one. Thanks!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Glad I could help!
@dupligae1326
@dupligae1326 8 ай бұрын
Damn that was so informative! I have been looking up for quite some time , and this veedio shown up, most importantly it was exactly what I need, amazing!
@gudinaf5009
@gudinaf5009 2 жыл бұрын
Perfect Explanation, this guy knows what we are looking for in a video
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank you!
@מוצריםלרכב
@מוצריםלרכב Жыл бұрын
where can I add to my VSC project the express-react-project folder you opened at 0:25?
@tareqmahmud3902
@tareqmahmud3902 2 жыл бұрын
this is the most important video in this century!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thanks!
@thebaiway
@thebaiway 2 жыл бұрын
This is the best I've seen this explained and it clicked so well (and quickly) watching your video. Thanks so much!!
@tatendamuzenda8442
@tatendamuzenda8442 Жыл бұрын
woooow best video I have seen so straight to the point
@tommyshaw2420
@tommyshaw2420 Жыл бұрын
Nice! I think most videos out there get bogged down and try to over explain or add content etc. This is so clean and literally all you need to get started.
@YoungPilotOfficial
@YoungPilotOfficial Жыл бұрын
Way clearer then any tutorial so far, thanks man. I was breaking my head over this…
@microflexe980
@microflexe980 Жыл бұрын
thank you for the tutorial, this saves me a lot of time! AWiting for your tutorial on how to connect the database to the project
@EzraPoundForPound
@EzraPoundForPound 2 жыл бұрын
By far the best, concise, easy to understand explanation video. Thanks for this.
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank you so much! It means a lot!
@cryptofelix5242
@cryptofelix5242 8 ай бұрын
Very helpful when you are just starting to work with Node.js, thank you!
@dewanmasumanazneen8366
@dewanmasumanazneen8366 Жыл бұрын
This is the best video to get started with fullstack projects imo❤
@davidbakare827
@davidbakare827 Жыл бұрын
Thank you for making this as simple as possible.
@Bukosaure
@Bukosaure 2 жыл бұрын
Seriously, you need to get more popular. The quality of this explanation is outstanding. Clear and concise. Also, what's the VS theme? :)
@gianni16
@gianni16 2 жыл бұрын
Hi ! As it's been 2 months you asked the question, do you now know what's the VS theme ?
@camyana3986
@camyana3986 2 жыл бұрын
@@gianni16 Dracula I believe
@gianni16
@gianni16 2 жыл бұрын
@@camyana3986 Yes ! Thanks
@himanshuraj296
@himanshuraj296 2 жыл бұрын
Great man U are Legend. i was struggling with this in last 7 days. keep it up man
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Glad to help!
@toprakekinyuksel7667
@toprakekinyuksel7667 Жыл бұрын
Fast, clean and on the point. Only tutorial you need.
@shawnjohnson3433
@shawnjohnson3433 Жыл бұрын
FANTASTIC! Great video! Very easy to follow. Keep pushing more videos.
@fourn7wenty
@fourn7wenty Жыл бұрын
Awesome dude thank you. This made it way easier to get a start
@mikaelmanninen9128
@mikaelmanninen9128 3 ай бұрын
Thanks, quick and clear explanation. Saved alot of my time.
@Gotostep2
@Gotostep2 2 жыл бұрын
Express God Slaying Skills! EDIT: FYI, for those using vitejs, try this in your vite.config... export default defineConfig({ plugins: Whatever plugins you use... server: { proxy: { '/api': { target: 'localhost:9000', changeOrigin: true, secure: false, } } } })
@adrianacamarottoTricam
@adrianacamarottoTricam Жыл бұрын
Thank you so much! Your video is so clear that I was finaly able to understand how to setup my project.
@donovan9905
@donovan9905 Жыл бұрын
Best explaination! Been struggling to understand this concept. Now I got it!
@itzmickman7544
@itzmickman7544 6 ай бұрын
Great video, you explained this fast but clear. Thank you
@sujeewa8067
@sujeewa8067 2 жыл бұрын
Subscribed! The way you explain and demonstrate is really really nice. I love it ❤!
@Assassin274
@Assassin274 Жыл бұрын
Amazing , going to watch more of your vids very smooth and clean explanation and not overly fast bravo
@gabrielfono844
@gabrielfono844 2 жыл бұрын
thanks amazing love this quick I have been working as backend engineer for few months now thahanks
@tapewormerbinkosti3141
@tapewormerbinkosti3141 Жыл бұрын
Exactly what I needed in less than 13 minutes. Amazing tutorial, tnx
@pavanrao1446
@pavanrao1446 Жыл бұрын
Great way of teaching in less time ,am so satisfied. If you know basics then it will really help to how to setup and link the client and server
@ives0000
@ives0000 2 жыл бұрын
This video is exactly what i needed! Thanks, and ill be checking out more of your vids!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
I appreciate it!! Thank you!
@bhavyaparikh667
@bhavyaparikh667 Жыл бұрын
You deserve more views!❤
@vladimir_nguyen
@vladimir_nguyen 2 ай бұрын
Nice helpful video. Simplicity and pleasant voice. Thank you!
@urbanrakhal5622
@urbanrakhal5622 2 жыл бұрын
Give this guy a medal
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Haha
@zoltancaputo9562
@zoltancaputo9562 2 жыл бұрын
Awsome ... Tks ! Clear, fast and it works !!! Added and sharing ....
@math001
@math001 Жыл бұрын
Amazing work man. Currently following along MDN's tutorial for Express and was wondering how the hell that would connect to React. Granted, I still am not finished with it but this is so much more understandable.
@jacob258631
@jacob258631 2 жыл бұрын
You have some great videos. Subscribed. I am preparing to be a full stack engineer and these helped so much. Thank you, sir.
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Thank you!
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Good luck!
@proexpert7417
@proexpert7417 11 ай бұрын
Thank you for the clear explanation, you got a new subscriber.
@UnderdogWorks
@UnderdogWorks Жыл бұрын
got yourself a subscriber man lots of loveeeee
@Mossy45
@Mossy45 4 ай бұрын
This is such an amazing tutorial. Thank you so much!
@tuner6914
@tuner6914 10 ай бұрын
Explained precisely.. You can be a good professor.
@rxlvnd3397
@rxlvnd3397 7 ай бұрын
This is exactly what I needed! Thanks a lot!
@someone-k1t
@someone-k1t 2 жыл бұрын
Absolutely what I was looking for. Thank you for the lesson.
@ohlsclason
@ohlsclason 2 жыл бұрын
Great stuff, spent a long while trying to figure this out by myself - thanks!!
@ababyduck717
@ababyduck717 Жыл бұрын
Thanks, this was super helpful. Might be nice to see an updated version using Vite though, now that CRA is no longer maintained.
@whatnothin1401
@whatnothin1401 Жыл бұрын
I needed these fundamentals and step by step quide .. thank you.
@kurwacherry
@kurwacherry Жыл бұрын
exactly what i needed, good stuff
@albertbrannan4
@albertbrannan4 2 жыл бұрын
This was a great lesson. You are the man!!!!
@sathvikmalgikar2842
@sathvikmalgikar2842 2 жыл бұрын
you sir, you are something different you are a goddamn legend. saved my day!
@CBQReview
@CBQReview 2 жыл бұрын
Thank you bro, you just set me up to finesse this project im working on.
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 жыл бұрын
Of course!
@jarodmorris611
@jarodmorris611 7 ай бұрын
Great tutorial. I have noticed that few tutorials explain how to deploy it to a live server. It makes sense considering how different servers can be, but it's frustrating for someone learning.
@CaliburPANDAs
@CaliburPANDAs Жыл бұрын
i learned a lot from this video. thank you so much.
@shubhamdas6519
@shubhamdas6519 Жыл бұрын
straight to the point......thanks a lot sir...
@peterkerr9685
@peterkerr9685 Жыл бұрын
Hi, Having a problem where in my API Fetch response, instead of getting the JSON with the users in it, I'm getting a message saying "You need to enable JavaScript to run this app.". Working in Chrome and JS is 100% enabled. My localhost:5000/api is giving the JSON data but that's just not getting across to the react app for some reason, and it sticks on Loading. Any fixes for this? cheers, Pete
@yonti353
@yonti353 Жыл бұрын
getting the same problem
@tienhuynh2435
@tienhuynh2435 Жыл бұрын
Have you fixed this bug ?
@recursion.
@recursion. 8 ай бұрын
were you able to fix this issue?
@damian8051
@damian8051 3 ай бұрын
Check you dont have a noscript tag in any of your pages. E.g create react app adds You need to enable JavaScript to run this app. to index.html by default I think.
@OXIDE777-is6gs
@OXIDE777-is6gs Жыл бұрын
Awesome bro, thanks for the tutorial!!
@androidKingforyou
@androidKingforyou 7 ай бұрын
i have a question, if connecting node api with react app is so easy why is there packages like CORS, what are they doing? I am asking this question because i was stuck on connecting backend with frontend and ran in cross-origin problem, i tried many method by passing different arguments to CORS in server side, adding parameters to axios but none of it worked. after following your tutorial i removed all the extra CORS code and made api call with axios and it worked. Can you explain about cors package and likely reason why it was not working
@lasithadulshan7357
@lasithadulshan7357 Жыл бұрын
Thank you for saving my time ❤
@patriciamariegatchalian5940
@patriciamariegatchalian5940 Жыл бұрын
This video is coherent. Thank you for uploading
@MrPneumatikos
@MrPneumatikos 2 жыл бұрын
Thank you! I’m new, and I was able to follow along and my little app is working! At first I put the “proxy” in the wrong pkg json but the realized it has to be in the client package.json (duh! Lol)
@albertalbaba5101
@albertalbaba5101 Жыл бұрын
This video was so good and straight forward !! Thanks
@nimeshaudayangi7721
@nimeshaudayangi7721 2 жыл бұрын
You are the best mern stack developer
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 925 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Build app using React JS, Node Express JS and Mongo DB (MERN Stack)
22:03
React Tutorial for Beginners
1:20:04
Programming with Mosh
Рет қаралды 3,8 МЛН
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,8 МЛН
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,6 МЛН
Passing Data Between Frontend and Backend | Node.js
18:31
Smoljames
Рет қаралды 97 М.
How to Connect React JS With MySQL Database using Node.JS/Express.js
15:29
Backend web development - a complete overview
12:58
SuperSimpleDev
Рет қаралды 1,9 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН