Carbon.io is an application framework based on Node.js and MongoDB for building command line programs, microservices, and APIs.
With Carbon.io you can create simple, database-centric microservices with virtually no code. At the same time Carbon.io is designed to let you under the hood and allows you to write highly customized APIs much like you would with lower-level libraries such as Express.js.
$ npm install carbon-io
Copy the following code into
var carbon =var o = carbonatommainvar __ = carbonfibers
This will create a Carbon.io service which will respond with "Hello world!" on the
/hello endpoint. Run the service with:
$ node service
And test it using:
$ curl localhost:8888/hello
Interested in getting started with Carbon.io? Check out our detailed documentation on the Carbon.io website.
Interested in contributing to Carbon.io? We love to receive new contributions! There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests or writing code which can be incorporated into Carbon.io itself.
Check out our CONTRIBUTING.md for tips on how to get started!