1.1.0 • Published 5 years ago

generator-lbts v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 years ago

generator-lbts NPM version Build Status Dependency Status

Generator for converting loopback default created package to a typescript with autoupdate

Installation

First, install Yeoman and generator-lbts using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-lbts

Then generate your new project:

yo lbts

##About I found Loopback to be a very helpful tool when working with databases. You start off by generating a new Node project and continue on generating datasources, models and even relations, all with the command line.

The only downside to it was that it does not generate typescript code. In addition I needed to add some basic code in order to support one time database migrations and also updating of the database with each execution validating that the database is always inline with the latest code.

##Usage start off by generating a regular loopback 3.0 Node project and define a datasource. Then from the commnad line run yo lbts that will do the rest for upgrading to typescript and adding the required code for db migration and updating

License

MIT License © Oded Levy

1.1.0

5 years ago

1.0.8

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.6.0

6 years ago