Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@brainnit/adonisjs-feud
Advanced tools
Adonis Feud allows you to serve multiple tenants within the same Adonis application while keeping tenant specific data logically separated for fully independent multi-domain/SaaS setups.
Adonis Feud allows you to serve multiple tenants within the same Adonis application while keeping tenant specific data logically separated for fully independent multi-domain/SaaS setups.
Use npm or yarn to install the package:
npm -i @brainnit/adonisjs-feud
# or
yarn add @brainnit/adonisjs-feud
Add Feud to the list of service providers at start/app.js
:
const providers = [
// ...
'@brainnit/adonisjs-feud/providers/FeudProvider'
];
Copy config/index.js
to your app config folder and name it feud.js
. Don't forget to setup your environment variables.
Add @provider:Feud
trait to your models and define only the methods you want to override to change default behaviour:
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
const Model = use('Model');
class User extends Model {
static get traits () {
return ['@provider:TenantAware']
}
}
module.exports = Users
FAQs
Adonis Feud allows you to serve multiple tenants within the same Adonis application while keeping tenant specific data logically separated for fully independent multi-domain/SaaS setups.
The npm package @brainnit/adonisjs-feud receives a total of 2 weekly downloads. As such, @brainnit/adonisjs-feud popularity was classified as not popular.
We found that @brainnit/adonisjs-feud demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.