Skip to content

Instantly share code, notes, and snippets.

@indreklasn

indreklasn/app.js

Created Sep 5, 2020
Embed
What would you like to do?
const AdminBro = require('admin-bro')
const AdminBroExpress = require('@admin-bro/express')
const express = require('express')
const app = express()
const adminBro = new AdminBro({
databases: [],
rootPath: '/admin',
})
const router = AdminBroExpress.buildRouter(adminBro)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment