SXAPI Core
SXAPI for Simple and eXtensible Application Programming Interface
It's an open-source framework for quickly building simple and small microservices API.
Getting Started
Open a shell terminal and type the following command
mkdir test
cd test
npm install sxapi-core
vi test.js
In your editor, write this sample code
var sxapi = require("sxapi-core");
sxapi.app.launch(function () {
sxapi.app.log.info("application started", sxapi.app.timer.time('app'));
});
Then execute your application with
node test.js
You will see some logging and applicaiton exposed on http:localhost:8080
Troubleshooting
If you run into difficulties installing or running sxapi, please report issue for installer or issue for sxapi.
License
SXAPI is licensed under the Apache License, Version 2.0.