Thanks, friend. I now understand what I need to do to take projects to production. I've been learning a lot about aws, ec2, s3, ssl, ssh... I'm on the right path!
node_modules folder contains project dependencies and while you perform npm run build will create an optimized version of your project which contains all the necessary files and dependency required/
I create a build for my frontend file but the API calls and networks are linking with the backend and I'm getting 404 not found when I try to log in the calls are not going to the backend folder API calls how do I fix this..?
Best take the macbook with M1 and ram of 8gb or 16gb(better). It is best. If you are windows user i5 processor is ok. Sadly i am using i3 processor with 8gn ram only.
Hi leela, thank you for your tutorial. However i have a doubts that regarding between npm run build and webpack. Do we need them both? I have seen lot of tutorial when deployment their application, they dont include webpack however just a question if we deploy a big project, do we need the webpack during the build? It seems to be confuse for me😢 Thank you
after running it give me this error > client@0.1.0 build > react-scripts build Creating an optimized production build... Failed to compile. static/css/main.1c724175.css from Css Minimizer plugin Error: Unexpected '/'. Escaping special characters with \ may help. it create a folder but it give this error folder contain only image
Thank you so much for the video. Can you also please make a video how `process.env.NODE_ENV` works for different env like dev qa and prod. how to set up environment variables ln rect. Thanks in advance.
Thanks, friend.
I now understand what I need to do to take projects to production.
I've been learning a lot about aws, ec2, s3, ssl, ssh...
I'm on the right path!
What if we make changes in package.json file and add homepage:"/test/" . How does this work ...
What if I need make changes already after the projdct is run build. What is the name of that task ???
Hi after npm run build, same build folder is created. But no js code on index.html and my index.html showing blank page. Only header title is coming
leela web dev is a sigma hater
Hi Leela nice info
no need to deploy node_moduels in production server ? how can application will work with out node modules in production environment
node_modules folder contains project dependencies and while you perform npm run build will create an optimized version of your project which contains all the necessary files and dependency required/
thank you very much. you have helped me. very good video
After production how to uses component external using cdn reference
In my vscode it is creating a dist folder instead of build folder 🤷 ?Im working with react.js !
I create a build for my frontend file but the API calls and networks are linking with the backend and I'm getting 404 not found when I try to log in the calls are not going to the backend folder API calls how do I fix this..?
hey Help i get dist folder when i type build command
thank you so much sir
if i want to commit the code to my github, do i initialized the build folder or the entire app folder
entire app folder you need to commit
@@LeelaWebDev thanks
thanks for the educative tutorial, can u suggest the best CPU Configuration related to MERN Stack development
Best take the macbook with M1 and ram of 8gb or 16gb(better). It is best. If you are windows user i5 processor is ok. Sadly i am using i3 processor with 8gn ram only.
How to deploy react applications?
What are the steps?
Will do. In our new react series
In a single line If I had to ask my question : Configure HTTPS for React Application deployed on AWS EC2 in Production mode
Superb 😎👍
How to stop npm serve -build
Thanks for making all these videos mate
Glad you liked it
thank you.
this video is very useful for me
Hi leela so in my environment there is dev, qa, prod. So the same build files will be deployed on different ftp endpoints right?
Thanks!
Hi leela, thank you for your tutorial. However i have a doubts that regarding between npm run build and webpack. Do we need them both? I have seen lot of tutorial when deployment their application, they dont include webpack however just a question if we deploy a big project, do we need the webpack during the build? It seems to be confuse for me😢
Thank you
Yes. I will do a complete a course on webpack
Subscribed.
Thank you, that was very very good and to the point.
after running it give me this error
> client@0.1.0 build
> react-scripts build
Creating an optimized production build...
Failed to compile.
static/css/main.1c724175.css from Css Minimizer plugin
Error: Unexpected '/'. Escaping special characters with \ may help.
it create a folder but it give this error folder contain only image
Hi bro, I use different folder for server, how to point to frontend IP address from backend using cors
48632 Kay Motorway
*Hey buddy can you dub this video into an American accent so we can understand you*
no mames, yo yo hablo español, muy poco ingles y le entiendo perfectamente lo que dice. El inconveniente de saber más de un idioma.
Thank you so much for the video. Can you also please make a video how `process.env.NODE_ENV` works for different env like dev qa and prod. how to set up environment variables ln rect. Thanks in advance.
it will be better if you record this vedio in urdo becuse you broked the legs of english nobody will understand
Sure will try. Actually broked is grammatically mistake. It should be broken. Its ok everyone will do mistakes.
@@LeelaWebDevnah y to speak urdo are u Muslims? Ur hindu nah either english Or hindi better
I understood perfectly what he said…
He is saying this because you are Indian and he is from the land which struggles for existence without China 😂. Don't take them seriously