> For the complete documentation index, see [llms.txt](https://node-girls.gitbook.io/intro-to-express/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://node-girls.gitbook.io/intro-to-express/intro-to-backend-development-with-node.js/tutorial/step-10-displaying-your-blog-posts.md).

# Step 10: Displaying your blog posts

{% hint style="info" %}
Great work! \
Wipe off those beads of sweat - it's the final mini-challenge. You can do it! 💥
{% endhint %}

So now we're saving the blog posts to the server. Time to get them and display them on the page!

If you look inside `public/script.js`, there's a whole bunch of JavaScript code in there. Don't worry about what all the code means, just know that it's responsible for sending a request to GET old blog posts and display them on the page underneath "Recent Posts".

`script.js` is trying to load existing posts by making a GET request. Look inside `script.js` and see if you can find any useful endpoints.

Your `script.js` file will want to receive the JSON containing your blog posts. Your job is to make that happen!

Express has a handy method called `res.sendFile()` that makes it easy to send files back to the client. Feel free to use this with your JSON.

If all goes well, you should have a fully functional CMS! 😍
