Skip to content

Sr-L/devspace-blog

 
 

Repository files navigation

DevSpace Blog

Static Next.js blog that uses Markdown for posts. Includes pagination, categories and search

This project is part of my Next.js Udemy course

DevSpace Blog

VIEW DEMO

Usage

Install Dependencies

npm install

Run Dev Server (http://localhost:3000)

npm run dev

Creating posts

  • Create a markdown file in the "posts" folder and name it whatever you want as the slug
  • Add the frontmatter/fields at the top and then the post body. See an example in the "posts" folder of this repo
  • Add your cover image and author image in the public/images folder
  • For category color coding, edit the "Components/CategoryLabel.js" file

Caching

Husky is used to run a cache script on git commit. Caching is used for the search api route/serverless function

About

Development blog built with Next.js & Markdown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.0%
  • CSS 3.5%
  • Shell 0.5%