legendaryjs
Version:
LegendaryJS – The ultimate backend framework for speed, power, and simplicity.
57 lines (56 loc) • 948 B
JavaScript
module.exports = {
graphql: true,
auth: {
jwt: true,
session: true,
oauth: true,
social: true,
},
database: {
mongo: true,
postgres: false,
mysql: false,
sqlite: false,
redis: true,
},
security: {
rateLimit: true,
cors: true,
ipBlock: true,
sanitize: true,
},
logging: {
smartLogger: true,
},
docs: {
swagger: true,
multilingual: true,
},
plugins: true,
cli: true,
dashboard: true,
webhooks: false,
selfRepair: true,
versioning: true,
payments: {
stripe: true,
paypal: true,
middleEast: true,
},
authorization: {
roles: false,
apiKey: false
},
features: {
rateLimit: {
enabled: true,
windowMs: 60000,
max: 100
}
},
multitenant: {
enabled: true,
strategy: 'header', // or 'subdomain' or 'query'
headerKey: 'x-tenant-id'
}
};