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

preview_player
Показать описание
Hey there,
This briefly explains how to deploy the MERN stack project using render and netlify for free.

If you have any questions about this, let me know in the comment section.
And don't forget to subscribe to the channel.

Thank you.
Рекомендации по теме
Комментарии
Автор

This seems to be the easiest way to get my backend running. Thanks for this :)

renealbrechtsen
Автор

thanks sir ...because of u only I hv created my first full-stack project

SandeepKumar-tplz
Автор

thanks man
you saved me
i am a frontend and i needed that a lot

mohameddarwesh
Автор

Bhai thank you so much yr bhai pura yt chaan mara khi nhi mili asi video bhai thank you yaar god bless you

frwgqiq
Автор

Thanks to the core for the easiest explanation🙌❤

ArunKumar-bqoo
Автор

Brother, thanks a lot
I was able to deploy my application thanks to your video
My kudos to you

mribrahimkhan
Автор

hello sir when i tried to deploy i am getting cors error even though i have installed and initialized cors in my backend do i have to do something in my frontend to remove it can you please help me.

costlycontent
Автор

This is great, but why no example code? Do you know why it would have a problem on the start script with nodemon?

DiplomaticGrief
Автор

what a lovely bro, i am very very thank full to you you solved my 6 month problems, Love all the way from Pakistan

hoowlsmentionsshorts
Автор

Everything works, thank you! You helped me a lot!

yuliiasvystak
Автор

I have deployed both backend and frontend in render but it fetches data slowly and its annoying..can u suggest how to make the performance better

tanmays
Автор

main.jsx:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML spec.
/vite.svg:1
Failed to load resource: the server responded with a status of 404 ()

getting this error for client side
in netlify please help


i have used react+vite

monkey.dluffy
Автор

I am facing this error while deploying :
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
src/config/db.ts(1, 22): error TS2307: Cannot find module 'mongoose' or its corresponding type declarations.
at createTSError
at reportTSError
at getOutput
at Object.compile
at Module.m._compile
at Module._extensions..js
at [as .ts]
at Module.load
at Function.Module._load
at Module.require {
diagnosticText: "src/config/db.ts(1, 22): error TS2307: Cannot find module 'mongoose' or its corresponding type declarations.\n",
diagnosticCodes: [ 2307 ]
}
[nodemon] app crashed - waiting for file changes before starting...


But in the project all going well. What to do please help?

srishti
Автор

Class constructer error errorhandler cannot involved without new

AmitSingh-yngh
Автор

Hello, i guess my .env is not working correctly. i copied my env variables inside the .env key just like you did but when it got to replacing my DB password to real password from the .env file, it is saying Cannot read property 'replace' of undefined. Help

mylifehacks
Автор

how frontend and backend are interacting as if they are hosted on different platforms, in my case when i deployed backend its working fine but my frontend which is hosted on netlify is giving 404 for all api call? am i missing something ? please let me know

chaitanyabhat
Автор

Hi Friend, I have an Angular application with webservice in Render with my application I create rooms and generate a code for each room, as when accessing this room in another browser I receive the message below: Failed to load resource: the server responded with a status of 404 () (Page Not Found) . Do you know what might have happened?

jotacedocarmo
Автор

i did the same front end for netlify backend is for render.

mrnabby
Автор

When im deploy, its show IP render try connect to my DB not in white list, how to fix it!

anghuy
Автор

do I need to change the proxy too when we go live to access api's?

HardikSingh-edbo