Overview
EzBackend comes with several plugins in order to streamline the developer experience.
Plugin | Description | Notes |
---|---|---|
An all in one interface for 1. Looking at your API endpoints 2. Managing your database 3. Testing your API endpoints | Requires EzOpenAPI plugin to be used as well | |
Automatically generates documentation for your backend | ||
Plugin for managing CORS, by default accepts requests from anywhere | Make sure to change cors settings before deployment | |
Plugin for managing Auth | Uses Encrypted Session Cookies by default |
Using plugins
In EzBackend, everything is an ezapp. You can enable plugins by doing the following:
- Sample
- Full Sample
app.addApp(new EzCors())
import { EzBackend } from '@ezbackend/common'
import { EzCors } from "@ezbackend/cors";
const app = new EzBackend()
app.addApp(new EzCors())
app.start()
Configuration
All plugins are designed to be fully extensible and configurable. You can view the configuration options here