Skip to content

Instantly share code, notes, and snippets.

Last active September 7, 2020 20:16
What would you like to do?
const User = mongoose.model('User', { name: String, email: String, surname: String })
const AdminBroOptions = {
resources: [User],
const AdminBro = new AdminBro(AdminBroOptions)
const router = AdminBroExpress.buildRouter(AdminBro)
// add router to express
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment