BETTER-STACK

Plugin Development

Build your own plugins for Better Stack

Extensive documentation for plugin development is coming soon! In the meantime, you can check out the source code of existing plugins to learn how to build your own:

Plugin Examples

Blog Plugin

The blog plugin is a full-featured example located in the main package. It demonstrates:

  • Database schema definition
  • Backend API endpoints
  • Client-side routes and components
  • React Query hooks
  • SEO and sitemap generation

Source Code: Blog Plugin

Todo Plugin

The todo plugin is a simpler example located in the Next.js examples folder. It demonstrates:

  • Basic CRUD operations
  • Database schema
  • API endpoints
  • Client components and hooks

Source Code: Todo Plugin