And that is it for this course section.
Obviously this was a huge course section
with tons and tons of content.
Now, definitely feel free to enhanced this site even more.
As you can tell, it is a basic online shop,
but of course there are plenty of areas
that you could improve or add new features.
But this is a huge module already
and the focus of this module
was to go through all these core concepts again
that we learned about throughout this course.
We had a look at HTML again,
at these templates and how we write HTML code,
how we work with HTML attributes,
how we work with white HTML elements.
We did all of that.
We had an extensive look at styling
and wrote tons of style files, tons of CSS styles,
and we even used CSS variables to define our own theme,
which we then used over and over again
throughout the discourse section.
We also wrote JavaScript code,
plenty of front-end JavaScript code,
where we wrote various functionalities
for updating the DOM,
for sending AJAX requests and so on.
Now then of course, we also worked on the backend
and then we also added many features.
We used the MVC pattern,
so therefore we wrote a bunch of models,
a bunch of views, as I already mentioned,
and of course also our controllers.
We added all the logic for adding authentication
for allowing users to sign up and log in,
and we added all this administration logic
for creating products, getting products,
updating products, and so on.
We added all the logic for viewing products for the cart,
for managing our cart,
both as an unauthenticated and authenticated user,
thanks to sessions.
And of course we added the logic for placing orders.
And last but not least,
I also showed you the logic for getting the orders
and keeping the prices updated.
We worked with middleware with a database,
a MongoDB database in this case here.
And of course we also added utility methods.
For example, for flashing errors onto our session.
I can only recommend that you take this course section
as a great exercise,
and if you didn't try building this on your own already,
definitely come back to it in the future
and try building this entire shop again on your own,
only looking at my solution from time to time.
This would be a great exercise
to really practice all these core concepts
we discovered throughout the discourse.
Now we're not done with this course,
but we're nearing the end
and this was a huge module with plenty of content.
I hope you got a lot out of it
and I hope it is now clear how you generally build websites
with backend code and front-end code combined.