Member-only story
Simplest and Quickest Nextjs Static Blog website
Quickest way to build a static content website
Hello and welcome to the new blog
Originally published on iHateReading
In today’s story, we will go through the way to build the simplest static blog website
Nextjs and React are JavaScript-based frameworks mainly dependent on JavaScript, and that brings some slowness to them on the browser or website built using the same are a bit slow.
But a static content website with Nextjs is fast and gives some powerful tools like React, Server Side API, if needed, dynamic APIs and a lot more, and that is why for a static content website I’ll still prefer Nextjs and React
Last month, I launched this new website, gettemplate.website, and for this, I need to quickly launch a blog post.
One good way is to build an admin with an editor to write blogs and a dashboard to view and manage blogs, but it takes of lot of CRUD operations and style management, which need time, and our deadline was about a few hours to quickly put a few blogs live on the website.
Creativity comes when limitations arise, so I was thinking of some quick, cheap way to just write markdown content in a file and simply render the file content using Nextjs server-side API, or a simple fs module can also be used to read the file content.
Here is our way,
- First, store or write all blogs in markdown format…
