an redundent free auth/database/user-management configuration for adonisjs
Motivate: WHY SPEND A HOUR/DAY TRY TO SETUP AUTHENTICATION
Motivate: WHY SETUP A TEMPLATE WASTE OF TIME TO MAKE IT TO PRODUCTION
A package for auto add authenticated pre-config plus if you using inertia from eidellev/inertiajs-adonisjs
, i'm handle for you
yarn add adonis-rapid
node ace configure adonis-rapid
# choose between template you want
"what client stack you wanted use?"
> static?
"do you want to copy default rapid views?"
> yes?
# and you good to go copy what in your base folder
# to rapid resources app
(easy) just
enable/disable
what you using
// config/rapid.ts
export default {
// ....
features: [
// > enable what you need
]
}
want to override the route? no problem
// providers/AppProvider
export default class AppProvider {
public async boot() {
const Features = this.app.container.use('SH8GH/Rapid/Features')
Features.LoginRenderer(async ({ view }, data) => {
return view.render('welcome', data)
})
}
}
Configurator
Namespace With Ease