Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidance Required: Deployment of MERN Stack Application #62

Open
capt-amlan-padhi opened this issue May 23, 2023 · 5 comments
Open

Guidance Required: Deployment of MERN Stack Application #62

capt-amlan-padhi opened this issue May 23, 2023 · 5 comments

Comments

@capt-amlan-padhi
Copy link

Hello!

I have been following your excellent series on building a MERN stack application and it has been greatly informative. I've successfully built the application on my local system, and now, I would like to deploy it for wider access.

I am unsure about the deployment process, especially in terms of the right steps to take and the best platforms to use for hosting both the Node.js backend and the React frontend of my MERN stack application.

Could you provide guidance on the following:

  1. Steps to prepare the app for deployment (like setting environment variables).
  2. Best services/platforms to deploy the frontend and backend (like Heroku, Netlify, AWS, etc.)
  3. How to manage continuous integration/continuous deployment from my GitHub repository to the deployment platform.

Your help would be greatly appreciated. Thank you in advance!

Best,
capt-amlan-padhi

@arnvjn14
Copy link

Same doubt

@nilay-2
Copy link

nilay-2 commented Jul 31, 2023

Hi ed-roh,
I can help you with the deployment of your mern stack application if you could assign this issue to me. I will be really glad to help.
For frontend you can deploy it on netlify as it is free and very easy to set to production.
For backend i will suggest to you to use Vercel because heroku and AWS are expensive.
I have also noticed that you have used multer for file upload, unfortunately multer wont work in deployment as you have to use cloud providers for file storage.

@DavinderSingh810
Copy link

DavinderSingh810 commented Aug 26, 2023

Hi ed-roh, I can help you with the deployment of your mern stack application if you could assign this issue to me. I will be really glad to help. For frontend you can deploy it on netlify as it is free and very easy to set to production. For backend i will suggest to you to use Vercel because heroku and AWS are expensive. I have also noticed that you have used multer for file upload, unfortunately multer wont work in deployment as you have to use cloud providers for file storage.

can u suggest how to change multer and use cloud providers as iam trying to deploy this project on netlify and render but not able to do it same as i guess iam not able to upload pictures . please guide me

@Akash-152000
Copy link

Hi ed-roh, I can help you with the deployment of your mern stack application if you could assign this issue to me. I will be really glad to help. For frontend you can deploy it on netlify as it is free and very easy to set to production. For backend i will suggest to you to use Vercel because heroku and AWS are expensive. I have also noticed that you have used multer for file upload, unfortunately multer wont work in deployment as you have to use cloud providers for file storage.

can u suggest how to change multer and use cloud providers as iam trying to deploy this project on netlify and render but not able to do it same as i guess iam not able to upload pictures . please guide me

Hey, you can try using cloudinary, i had similar issue so I used cloudinary to store my images, so basically during the api call you convert your image into base 64 and send it to backend wherein it uploads the image on cloudinary and in response gives you a link to that image which then you can pass-on to the frontend.

@whoafridi
Copy link

whoafridi commented Nov 12, 2023

@capt-amlan-padhi do you find the solution/s ? If yes, share to us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants