AllanYuen / WeatherCast

UofT SCS Coding Boot Camp - Project 3 MERN Stack Project
MIT License
2 stars 1 forks source link

MERN Stack Project Deployment #16

Open AllanYuen opened 8 months ago

AllanYuen commented 8 months ago

User Story

AS a developer I WANT to deploy the WeatherCast application on a live URL on Render with no errors SO THAT users may have access to the WeatherCast application from the web.

Acceptance Criteria

WHEN I visit the WeatherCast application using the URL, THEN I can access the WeatherCast application from any browser

Mhmd-Ashif commented 5 months ago

The best way to deploy your projects is by deploying your server and client individually. For this, we will use Vercel for deployment.

  1. Deploy your backend first using Vercel. This will give you a deployed URL for your backend API.
  2. Then, deploy your frontend using Vercel. Once the frontend is deployed, you need to update the API requests to point to the deployed backend URL.

example

useEffect(() => { axios.get('https://vercel.backend.app/blog') .then(response => { // handle success console.log(response.data); }) .catch(error => { // handle error console.error(error); }); }, []);

arslan-ahmad15 commented 4 months ago

hi sir, i am interested.

razak571 commented 3 months ago

Hi @AllanYuen , as this issue is still open, I would like to suggest to deploy it on render.com. If you are okay, I would be happy to do it. Thanks!

SujithClasher commented 1 month ago

Some files are missing in this so updating the whole project