Okay, so now we spent a lot of time
on hosting providers and how to host websites and databases.
But of course, that is all important.
Now we're one step closer to deploying our website,
but now I want to highlight a couple of preparation steps
through which you typically should go
when you are ready to expose your website to the world.
The first step is that you wanna
thoroughly test your website
and that you wanna prepare the website code for deployment.
You might, for example, wanna use environment variables
and I'll explain what that is in a couple of minutes.
So you should thoroughly test your website,
check for bugs and fine-tune in your code
and also test the website on different browsers to make sure
that you really have a website that's working
and that is, from a code perspective,
prepared for deployment.
Now, as a next step,
you especially also want to double check
if your website uses certain features in the frontend code,
so now I'm talking about CSS and frontend JavaScript,
that might not be supported by all browsers,
because you must always keep in mind that all your CSS code
and all your browser side JavaScript code is evaluated
and executed by browsers.
Now, unfortunately, not all browsers support all features
and therefore, you should double check for the features
that you are using
if they are supported in all major browsers.
Now, by the way, I'll come back to these individual steps
and have a look at them
at a concrete example together with you
over the next minutes.
Now, the third important step
that you might wanna keep in mind
is that you optimize your website for search engines.
You should especially add important metadata
that helps Google and other search engines understand
and present your website as users might be searching
for the content you have on your website.
So that will be another topic,
which we'll briefly discuss in this course section.
And last but not least,
you also wanna think about performance.
You especially wanna shrink your frontend assets,
so your frontend JavaScript and images
and CSS codes that you might have.
You wanna have all the code you need,
but as little code as necessary in the end
because all the frontend JavaScript code and images
have to be downloaded by the website visitors
and you, of course, don't wanna make it too complex
or big for your website visitors.
You don't wanna force your visitors to download too much.
Now, these are a couple of steps you should keep in mind.
And these are a couple of steps
we'll now go through at concrete examples
before we will then take the same example
to really deploy it with help of a hosting provider.