nav-express-app
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published
// resolvers/GetShop.ts
import { AppRequest } from 'nav-express-app'
export default class GetShop extends AppRequest {
  resolution() {
    return {
      a: 1
    }
  }
}

// index.ts
import { App } from 'nav-express-app'

App.create()
App.resolve('get', '/shop', 'GetShop')
App.start()

Readme

Keywords

none

Package Sidebar

Install

npm i nav-express-app

Weekly Downloads

1

Version

0.0.11

License

MIT

Unpacked Size

452 kB

Total Files

25

Last publish

Collaborators

  • svtfrancisco