Now that's it for this course section.
We now had a thorough introduction into Express,
which is a super important library for working with Node,
and it's one of the most popular
and commonly used NodeJS libraries that exists in the world.
It's getting used by hundreds of thousands
of developers every day.
And now we got started with it.
And you learned that Express,
this library, is mainly dealing with routing requests.
So with determining which path are request targets
and which type of request it is,
to then execute code for those different requests.
And with help of Express,
we can then send back tailored responses.
We can send back responses that
include dynamically generated data, if we need to.
And we can also parse request data
in case we get a post request that does carry such data,
as long as we also add to this extra middleware,
that was an important step,
so that we also explicitly tell Express that
it should parse and translate any data
that might be attached to incoming requests.
Now,
we did also learn in this course section
how we can then send back HTML content,
at the moment, just stored in such strings,
not in HTML files,
but that will also change again in the future.
And we learned that we can write and read to and from files.
And that's of course not Express specific,
but NodeJS in general,
but we can utilize this when working with Express as well.
And that's important to keep in mind
and understand in general.
Express does not replace NodeJS, instead it enhances it.
We can now still use some core NodeJS functionalities,
but we don't have to do everything
in such a low level way as we did it before,
where we manually had to check what our URL is and so on.
Instead now we have a more structured
and easier way of splitting our code
and defining which code should execute
for which kind of request.
And we can then write any kind of logic
our website might need.
Now, last but not least,
we also added NodeMon in the last lecture
to make our life as a developer a bit easier.
Now with all of that,
we got a very solid foundation
on which we can build up on
to dive deeper into Express and Node.
And to now in the next lecture,
re-introduce separate HTML files,
but this time, a bit more dynamic
than the HTML files we worked on before in this course.