Excellent.
Once we have access to our products coming from the local strappy implication then we're gonna head
over to our front end and configure our euro because currently we're fetching products from my API.
However now that we have created in our local strappy application we can just look for them in the TTP
land colon and forward slash and local host thirteen thirty seven.
Please keep in mind again we're not adding that forward slash product because we're already doing that
within the product's context and that way again.
Once we deploy our application then again we're just going to change the URL to whatever domain we're
going to have and that way we don't need to hop around our application and just keep on changing the
url.
So I'm gonna head over back to my browser and I'm just gonna copy and paste the local post.
I think this is gonna be a little bit quicker.
So let me selected and we're gonna just copy and paste we're gonna head over to our you URL we're gonna
copy and paste it and the moment when we do that by the way again Don't I have the forward slash make
sure that you don't have to hover slash just the domain.
Let's say it everything is gonna work well.
However there's gonna be an issue and the issue is gonna be our images.
So we're not gonna be able to see the images and there's gonna be two fixes.
There's gonna be a local fix.
Meaning if you're not planning to deploy your application then we're just going to change our front
end code.
However if you are planning to deploy the application we're gonna have to set up the Cloud area code.
So again let me take a look at the bigger browser window if we're gonna head over to our project we're
gonna see that.
Yes the product is there.
But again I cannot see the details meaning I cannot see the image.
Everything else works well but unfortunately we cannot see the image.
And why is that happening.
Well again if we're gonna head over to our product you're going to see that the URL is forward slash.
So whatever domain name is in our case again and local host none we have the forward slash and upload
and then we get an image.
And if you're going to try to access it in your browser of course it's going to fail because first we're
gonna need to have our domain name.
So let's say if I look for the image this way of course I'm not going to be able to find it.
However if I'm going to add of course my local host.
So if I'm going to say a local host design call on 13 thirty seven then you're going to see that we're
gonna see the image.
Let's run it.
And of course the image is there.
Now the difference is once we set up the free cloud energy account we right away gonna point our you
URL to a cloud Mary.
That's why we right away can access the image and why we would want to set up the cloud Neri.
You see once we're gonna deploy our application let's say in Heroku using this forward slash and upload
is not going to work because essentially Heroku just wipes out the cache and then once your application
spins up again you're not going to have access to images.
So again if you're not planning to deploy our application you can just follow along with a next videos
where we change around our local setup.
So I'm going to show you how we can do that easily using our front end because essentially we just need
to change a bit our code around that.
So how if you're planning on deploying our application I would strongly suggest setting up a free cloud
network out because that's what you're going to have access to your image right there within the.
You are all property.