How to deploy MERN project (NodeJS, React) using render and netlify. PART 2.

#MERN #deploy #web
This is part 2 explanation of, how to deploy the MERN stack project using render and netlify for free.
PART 1: • How to deploy MERN pro...
Download web.config file from here: drive.google.com/uc?export=do...
OR
drive.google.com/uc?export=do...
If you have any questions about this, let me know in the comment section.
And don't forget to subscribe to the channel.
Website: gitunemployed.netlify.app (only desktop)
Thank you.
Please let me know in the comment section if you need any kind of help.
or you can just ping me through LinkedIn
/ muhazahmed
Thank you.

Пікірлер: 30

  • @mep1tz
    @mep1tz5 ай бұрын

    Thanks a lot bro!!! Subscribed!

  • @rohit.1232
    @rohit.12327 ай бұрын

    thanks bro your videos really help me.

  • @rohit.1232
    @rohit.12327 ай бұрын

    KZreadrs like you made us.

  • @gmanikanta6788
    @gmanikanta67883 ай бұрын

    Osm

  • @user-sg6yq9ez6u
    @user-sg6yq9ez6u9 ай бұрын

    Thanks so much dude. I watched so many videos but none of them really worked. However, yours worked perfectly as you showed. One major problem for me was the CORS issue so I had to fix it by adding a custom middleware that I found from stack overflow. If you can, please explain how you did not face any issue regarding CORS.

  • @gitunemployed

    @gitunemployed

    9 ай бұрын

    I prefer using Cors as a universal. app.use(cors()) or app.use(cors({ origin: 'example.com', // Allow requests from 'example.com' methods: 'GET,POST', PUT,PATCH,DELETE optionsSuccessStatus: 204 // Respond with a 204 status code for preflight requests }));

  • @fullstack-user-api
    @fullstack-user-api2 ай бұрын

    Hi! I have deployed the front and backend in Render! Thank you! My app works well in the localhost but in the deployment I cannot get the user after logging with gmail...I am not working with websocket but I realized I got websocket failed I do not know if that is relevant. What am I doing wrong? thank you

  • @fullstack-user-api
    @fullstack-user-api2 ай бұрын

    Hi, I cannot see a list of my deployments. When I go to the dashboard i see cards with different options to deploy but I cannot see my overview any longer...what I am doing wrong?

  • @gitunemployed

    @gitunemployed

    2 ай бұрын

    Try creating a organisation and deploy inside that

  • @full-stack-user
    @full-stack-user3 ай бұрын

    Hi! My MERN project has only 1 Github repo with 2 folders: Client and Server. May I deploy the backend and frontend only using Netlify? How? Why did you use Onrender (backend) and Netlify(frontend) instead of only using one of them for both back and front-end?

  • @gitunemployed

    @gitunemployed

    3 ай бұрын

    No, you can't deploy your server side in netlify. Netlify supports only client side rendering. Or you can deploy both you client and server on render itself if you don't want to shift between platforms.

  • @full-stack-user

    @full-stack-user

    2 ай бұрын

    ​@@gitunemployed Thank you so much. I was 4 days trying to deploy both back/frontend in Netlify, now I understand everything and my site is correctly deployed. God bless you for your talent and for you to be successful in all what you do because you help others to improve. 🙂👍👍

  • @rochirivera6692
    @rochirivera66929 ай бұрын

    What about the data base? Does mongodb need any type of hosting?

  • @gitunemployed

    @gitunemployed

    9 ай бұрын

    Nope. If you are using Atlas, it's enough for small projects.

  • @developerstring
    @developerstring9 ай бұрын

    Hey, I need your help to deploy my MERN Project could you please help me out. I have already created the MERN project and I am able to register new users in the database but when i try to login with the same credentials i logged in but the data I want from the backend which has to generate a token and save in cookies that is not able to generate and save in browser cookies. But the fact is the same code I am using in my local machine is working fine but not working with the hosted backend code. Please help to deploy.

  • @gitunemployed

    @gitunemployed

    9 ай бұрын

    Connect me through LinkedIn

  • @cutexangel5626

    @cutexangel5626

    7 ай бұрын

    yes it is happening with me also I logged in and logged out successfully because here using post but unable to get information on my page using rendor and netlify

  • @alphaa45
    @alphaa458 ай бұрын

    hey i need your help ... because of your concept 95% my deployment were done but i have problem... i deploy my backend on render and add the url into the frontend .. which works osm actuall i use strape whne i click on my checkout then it will redirect me to the strape payment page .. after the success full payment i have writen in my code thet it should redirect me to /success page on my frontend ... but i got the error ... Looks like you've followed a broken link or entered a URL that doesn't exist on this site... ca n u please help me how to use and what is the exact code of the web.config .... because in discription u provide two link ... and im deploying my frontend project on netlify please help me ...plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

  • @gitunemployed

    @gitunemployed

    8 ай бұрын

    did you changed your URL from strape? means localhost to (something).netlify.app or if you have deployed in render, that perticular link.

  • @subrataruj6321
    @subrataruj63215 ай бұрын

    please help sir when i refresh the page except the root directory i got the error of "page not found" like what you told

  • @gitunemployed

    @gitunemployed

    5 ай бұрын

    Did you added the web.config file? in root

  • @ridhamanand8519
    @ridhamanand85197 ай бұрын

    on refreshing netlify shows page not found, i have added web config file

  • @gitunemployed

    @gitunemployed

    7 ай бұрын

    Don't forget to push the code after adding the file. If still the issue not solved, then connect me through LinkedIn.

  • @subrataruj6321

    @subrataruj6321

    5 ай бұрын

    Same problem occur......did you solve it?

  • @ranjitdevadiga6880
    @ranjitdevadiga68804 ай бұрын

    bro make a video deploying a site with cookies

  • @gitunemployed

    @gitunemployed

    4 ай бұрын

    Sure

  • @Siva-tx6oc
    @Siva-tx6oc7 ай бұрын

    my cookies seesion is not working bro

  • @gitunemployed

    @gitunemployed

    7 ай бұрын

    Connect me through LinkedIn

  • @mithunp7839

    @mithunp7839

    6 ай бұрын

    Try adding {samSite:"None", secure:true} in cookie. It worked for me

Келесі