expresszz

0.2.2 • Public • Published

ExpressZZ

Utils to help to quickly build an express server

Usage

Examples are in the examples folder

const {Expresszz} = require('lib/expresszz')

async function run() {
    const service = new Expresszz('name', 5555, process.env.REDIS_URL, process.env.REDIS_SECRET)
    await service.configureApp()
    service.configRoute('get', '/url', [() => service.logger.info('test')])
    service.run()
}

run()

Package Sidebar

Install

npm i expresszz

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

14.1 kB

Total Files

10

Last publish

Collaborators

  • adele.bendayan