Lumber is a CLI tool that helps you create your backend application in minutes. At its core, Lumber has been designed with a modular architecture that leverages a set of plugins.
For example, it takes one command to get a REST API, a GraphQL API or a fully operational Admin Panel.
npm install -g lumber-cli -s
Plugin | Description |
---|---|
lumber-forestadmin | Install Forest Admin to get an off-the-shelf admin panel based on a highly-extensible API. |
lumber-graphql | Generate a GraphQL API. |
lumber-jwt | Add a JWT authentication middleware. |
$ npm install -g lumber-cli -s
$ lumber generate -c postgres://erlich:aviato@localhost:5432/meals Meals
$ cd Meals/ && npm install -s
$ npm start
Your application is listening on port 3000.
Finally, visit http://localhost:3000.
$ lumber [command]
generate <appName>
generate a backend application with an ORM/ODM configured.update
update your models's definition according to your database schemainstall <package>
install a Lumber plugin.run <plugin:cmd>
run a command from a Lumber plugin.help [cmd]
display help for [cmd]
๐ Join our Slack community of +1000 developers
To publish the docker image:
docker build -t forestadmin/lumber .
docker login
docker push forestadmin/lumber