This is a one page developer blog with syntax highlighting built with Storyblok and Next.js.
Here's a live preview of the app
-
Node v18
Install from official site.
-
NPM.
npm install npm@latest -g.
-
Next v13
-
Storyblok
-
Rehype-prism-plus
-
Next-mdx-remote
-
GraphQL
-
Clone the repo
git clone https://github.com/amissah17/devblok/
-
Install NPM packages
npm install
-
Create
.env.local
in root folder. -
Get public API endpoint from Storyblok
-
Enter endpoint in
.env.local
filePublicToken = 'enter your endpoint'
-
Start development Server
npm run dev
Read a tutorial on how I built this app
Distributed under the MIT License
Frank Amissah -Twitter
Project Link: GitHub