Blog API

Markdown-based blog system with Next.js

API Endpoints

  • GET /api/posts - Get all posts
  • GET /api/posts?tag=nextjs - Filter by tag
  • GET /api/posts?page=2 - Pagination
  • GET /api/posts/[slug] - Get single post