Optional
app
Existing Express application instance to use.
Optional
appThe base URL for the application.
Optional
bodyMiddleware for parsing request bodies (e.g., JSON, URL-encoded).
Optional
clusterWhether to run the application in cluster mode.
Optional
cors
Middleware for handling Cross-Origin Resource Sharing (CORS).
Optional
db
Database configuration options for connecting to MongoDB.
Optional
options?: ConnectOptions
Additional options for configuring the MongoDB connection.
The URL of the MongoDB database.
Optional
helmet
Middleware for enhancing application security (e.g., Helmet).
Optional
hostname
The hostname of the service.
Optional
loadWhether to load default middlewares when creating the app instance.
Optional
morgan
Logger middleware (e.g., Morgan) configuration.
The port on which the Febby application will listen.
Optional
redis
Configuration options for Redis, used for caching.
Optional
serviceThe name of the service, used for identification.
Optional
version
The version of the service.
Generated using TypeDoc
Configuration options for the Febby application.
Example