Exobase
  1. Root Hooks
  2. useExpress

An Exobase root hook for the ExpressJS framework

Install

yarn add @exobase/use-express

Usage

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)