Skip to content
On this page

Ecosystem

KingWorld is designed to be modular and lightweight.

Following the same phiolsophy as Arch Linux (btw, I use Arch):

Things that that can be separated, will be separated.

To ensure that developers endup with performant web server they intent to created.

That's why KingWorld is creating pre-built common pattern plugin for convinient usage for developers:

Official plugins:

  • Static - serve static file/folders
  • Cookie - get/set cookie
  • CORS - handle CORS request
  • HTML - shorthand returning HTML
  • Swagger - generate Swagger on fly
  • GraphQL Yoga - using GraphQL Yoga with KingWorld
  • WebSocket - websocket support
  • Cron - running cron
  • JWT - authenticating with JWT
  • tRPC - add tRPC support

Community plugins:

  • Controllers - decorator and controller-based routing
  • OAuth2 - handle OAuth 2.0 authorization code flow

If you have plugin written for KingWorld, feels free to share you plugin by creating PR to documentation repo.