title: 'useExpress' description: 'A root hook for the Express.js API framework' group: 'Root Hooks' badge: 'Express.js'
An Exobase root hook for the ExpressJS framework
yarn add @exobase/use-express
import { compose } from 'radash'
import type { Props } from '@exobase/core'
import { useExpress } from '@exobase/use-express'
const endpoint = (props: Props) => {
console.log(props)
}
export default compose(useExpress(), endpoint)