nodejs-stack
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Node-Stack

Obtener node-stack con NPM:

npm install node-stack

Crear el archivo server.ts y agregar el siguiente contenido:

import { Controller, Config, LoggerFactory, App } from 'Nodejs-Stack';

const controller = Controller.on('/', () => {
  return { hello: 'world' };
});

const config = Config.create();

const loggerFactory = LoggerFactory.create({ config });

const app = App.create({
  config,
  loggerFactory,
  controllers: [controller],
});

void app.start();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i nodejs-stack

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

132 kB

Total Files

60

Last publish

Collaborators

  • dgustavocj