OneStack Enterprise Service Platform
Long Term Support Schedule
- 2.x (10/1/2015 - 10/1/2018)
- v.Next (10/1/2017 - 10/1/2020)
Projects
OneStack
YAML based configuration management and Winston based logging system - ALL IN PLACE!!!
npm install onestack
URL: https://github.com/e2tox/onestack
OneStack Service Platform
HAPI backed API server which comes with awesome swagger UI.
npm install onestack-service
URL: https://github.com/e2tox/onestack-service
Create Your Project
Clone this starter project and you will able to build your next API backend within few clicks!!!
1. Configuration: YAML
conf/settings.yaml
---# application infoID: ONETITLE: OneStack Enterprise Service Platform# PaaS will always set the PORT environment variablePORT: 11020# Explorer will display the tagged services under this urlEXPLORE_SERVICE_BASE: /api/v1# relative path to HOME_DIRLOG_DIR: ./logs
2. API Route:
server/routes/engine.server.route.js
module {server;};
3. Run Your API Backend
var app = ;var Server = ;var instance = app;instance;instancestart;
4. Useful console output for logging and analysis
5. Explorer Your API
http://localhost:11020/explorer
Extra: Check and Read Settings
var app = ;if appconsole;
Extra: Write Log
var app = ;app;app;app;app;app;