Serve a React app from an Express server | React frontend and Express API setup in 1 project!

Serve a React app from an Express server | React frontend and Express API setup in 1 project!

Devistry

1 год назад

16,420 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

primordial
primordial - 03.09.2023 02:01

for any react app, any user can see all my javascript, and we can't expose our backend code to anyone, so how do we make sure that we don't expose our backend to anyone using this method

Ответить
pyyr
pyyr - 10.08.2023 17:12

thanks.

Ответить
Sebastiano G
Sebastiano G - 26.07.2023 11:39

Thanks a lot, really well done, one of the best tutorials I've ever seen!

Ответить
joksa
joksa - 11.07.2023 19:54

Niiiice

Ответить
tghhh19
tghhh19 - 29.06.2023 18:42

Thank you so much for this video. I was hoping this would help me solve the issue with dynamic meta tags. I basically need to change the meta tags in the head of the HTML document before it gets sent to the client.

Ответить
TAFAXTRA
TAFAXTRA - 01.06.2023 15:25

What if our react app has react router? How will the pages route? I am using vite

Ответить
JAYANT SETH
JAYANT SETH - 01.06.2023 07:51

Thanks a lot !!

Ответить
oomana rajesh
oomana rajesh - 29.05.2023 07:08

Nicely presented, highly appreciated.

Ответить
Hai Nguyen
Hai Nguyen - 14.05.2023 00:36

Absolutely wonderful tutorial! I have been trying to find a solution for this for ages and now I see your video. Thanks a lot. Liked and subscribed!

Ответить
Damanpreet Singh
Damanpreet Singh - 18.04.2023 05:40

Really Appreciate it man. Literally Saved me.

Ответить
Nadir Hossain
Nadir Hossain - 03.04.2023 22:58

how to deploy this into the vercel

Ответить
Leader
Leader - 03.04.2023 05:10

I love you bruh 👍

Ответить
Adi Sekar
Adi Sekar - 24.02.2023 05:20

Great video! I want to have a setup where I can have 1 host app (express) and multiple client apps (react bundle), so I cannot have the express server folder inside react like you mentioned. Is it possible to have react project separate which generates bundle deployed in say S3, and Express project in Ec2,. Is there a way the express server can serve static assets (react bundle) from S3. Is this the correct setup? What would you recommend? Thanks

Ответить
GamingBud
GamingBud - 05.12.2022 09:13

Spectacular man, thank you. Just starting my first major web app project and learning the initial configuration has been a whirl. I want to make sure the foundation is done right, and this was the final piece of the puzzle. Going to start working on the project management side of things and then get started on development!

Ответить
Step2Point
Step2Point - 06.11.2022 00:31

Thanks 🙏

Ответить
Cristian Gabriel
Cristian Gabriel - 14.10.2022 11:23

this is amazing, thank you so much !

Ответить