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

  Рет қаралды 7,034

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 with Vite. We will set up a backend API with Express that returns an array of fruits, and on the frontend, we will fetch that backend and display the same fruits 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...
Code: github.com/arp...
Official Express Documentation: expressjs.com/
Official React Documentation: react.dev/
Official Vite Documentation: vitejs.dev/guide/
My Programming Gear:
Keyboard: amzn.to/47eLpX4
Laptop: amzn.to/4546pyW
Laptop Stand: amzn.to/3GOYlZ7
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

Пікірлер: 27
@namlasyruhdwohc6340
@namlasyruhdwohc6340 2 күн бұрын
Straight to the the point and under 20 minutes, nice
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 күн бұрын
@@namlasyruhdwohc6340 that's just how we do it 🔥🔥
@Hallowed_Knight
@Hallowed_Knight 2 күн бұрын
no nonsense, no bullshit, just straight programming
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 күн бұрын
@@Hallowed_Knight that's just how we do it 🔥🔥
@mrziixx1293
@mrziixx1293 Ай бұрын
Damn bro, your way of explaining is soo damn good that i can understand everything you said there, thanks
@giroda
@giroda Ай бұрын
Beautiful job, congrats and thanks. Now its time to containerize it
@nomomo4059
@nomomo4059 18 сағат бұрын
Thank you very much!!
@xXxBo5sANaCxXx
@xXxBo5sANaCxXx Ай бұрын
Sometimes i wish i started with backend and then frontend....sheesh its a whole different world out here
@shadowB33
@shadowB33 Ай бұрын
bro! I am suffering the same thing too lol
@sangeethasudhagar4416
@sangeethasudhagar4416 Ай бұрын
Thanks bro😢 I have been struggling how to connect but ur video solved me pls upload more video about full stack projects pls 😢
@Memegineer_10k
@Memegineer_10k 2 ай бұрын
Thanks brother! This really saved much of my time. Keep on producing such useful videos.....
@asurge9256
@asurge9256 12 күн бұрын
Hello, I have built an entire app and this video was the baseline for everything. Thank you. Also, I want to deploy it. The frontend and backend is exactly how it is structured in this video and I use PostgreSQL for a database. All the db code is in the Node.js. How would I go about deploying my application in the particular strucuture that it is in?
@ArpanNeupaneProductions
@ArpanNeupaneProductions 12 күн бұрын
@@asurge9256 Look up how to create a build/frontend distribution in React (Vite). Then, serve that build on your backend. Finally, deploy your backend on a server.
@bibimathew6381
@bibimathew6381 Ай бұрын
thank you for this! Saved me so much time
@hariomthakur770
@hariomthakur770 14 күн бұрын
life saving video ✌✌✌✌
@TilakasiriRajapaksha-ec3sg
@TilakasiriRajapaksha-ec3sg 5 сағат бұрын
Can you make video how to connect with mysql
@Stefan-xm9qb
@Stefan-xm9qb Күн бұрын
Make a video about ssr with express + react
@jhonrivera8738
@jhonrivera8738 Ай бұрын
Thanks, man!
@dermensch2553
@dermensch2553 18 күн бұрын
How to make it as one app... starting from a main folder with one command and then can be released on google play store?
@Jen13022
@Jen13022 15 күн бұрын
ok.how send from server to client react component ,i use renderToString method from react dom but i have issue - syntax error, dont recognized tag
@bestpianolpieces
@bestpianolpieces Ай бұрын
is it possible to depoly such a project to vercel? im quite new to all of this. What would i need to do? Great Tutorial!
@ArpanNeupaneProductions
@ArpanNeupaneProductions Ай бұрын
@@bestpianolpieces it is! Check out my video for React + Vercel :) Thanks!
@zhuangdaz7388
@zhuangdaz7388 27 күн бұрын
How can we deploy this project to Digital Ocean? Shall we dockerize it?
@Sergeant_Mahdi
@Sergeant_Mahdi 2 ай бұрын
I'm kind of new to react. Do I need express for a single page application or the Vite server would be enough?
@ArpanNeupaneProductions
@ArpanNeupaneProductions 2 ай бұрын
If your application only needs frontend capability, you will be fine with Vite and React. However, if you're looking to implement backend or server-side functionality, using a backend framework like Express could be of good use.
@sangeethasudhagar4416
@sangeethasudhagar4416 Ай бұрын
Bro it shows access is blocked by cors policy how to resolve this?
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 124 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 25 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 71 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 40 МЛН
I DONT USE NEXT JS
54:01
ThePrimeTime
Рет қаралды 358 М.
Decrease Next.js Docker Image Size 15x
5:36
Frontend Basics
Рет қаралды 22 М.
Zod Validation in React (Complete Tutorial)
29:44
Cosden Solutions
Рет қаралды 4,7 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 647 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 643 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 25 МЛН