blackfire
v0.0.512
Published
Easy to use, modular, REST API boilerplate and generator CLI using Node, Express and MongoDB.
Downloads
13
Maintainers
Readme
Blackfire
Easy to use, modular, REST API boilerplate and generator CLI using Node, Express and MongoDB.
Everything you need for your API in seconds!
Yeah, blackfire usually takes only less than a second to get things done. Generating REST API for your dream application has never been this easy. Blackfire generates everything from basic route, controller, schema and even swagger docs!
Install BlackFire globally
Installing blackfire globally will help you access the command from anywhere. You can just fire up the command and do pretty amazing things just like that.
npm install blackfire -g
Create new project
There are so many things happening under the hood to make an API up and running from scratch, multiple environments, middlewares, request parsing, wiring up routes, view system, data models, controllers and docs, we've gone through all these pain, thats why we built this. Bootstrapping a project has never been this easy! Just one command.. boom.. your API structure is ready!
blackfire new zoo
Install dependencies
Its time to invite all your package.json mentioned friends to node_modules folder. Lets throw a party!
npm install
Create module
Now lets get into serious stuff, what kind of API are you making? stores? products? or animals? Its easy to make modules in blackfire.
blackfire module <singular> <plural>
blackfire module cat cats
Start application
So far so good. You just made an API for your next dream project. Lets fire up what we have made.
npm run development