generator-nbl

Neiblo Node Server

Usage no npm install needed!

<script type="module">
  import generatorNbl from 'https://cdn.skypack.dev/generator-nbl';
</script>

README

nbl

Build Status

How

$ npm i -g yo generator-nbl
$ yo nbl # cria o projeto zerado
$ yo nbl:model {nome} --ctx {ctx} # cria MODELO para o contexto {ctx}
$ yo nbl:endpoint {nome} --ctx {ctx} # cria ENDPOINT para o contexto {ctx}
$ yo nbl:dao {nome} --ctx {ctx} # cria DAO para o contexto {ctx}
$ yo nbl:utils {nome} --ctx {ctx} # cria UTILS para o contexto {ctx}
$ yo nbl:service {nome} --ctx {ctx} # cria SERVICE para o contexto {ctx}
$ yo nbl:module {nome} --ctx {ctx} # cria MODULE (DAO, MODEL e ENDPOINT) para o contexto {ctx}

License

MIT