parsony
v1.1.4
Published
API Engine for Parsony Framework.
Downloads
6
Maintainers
Keywords
Readme
#parsony
An API engine for the Parsony Rapid Development Framework.
Parsony helps develops quickly develop services that expose both JSON/RPC and RESTful API Endpoints.
- Self-documenting with searchable API documentation.
- Provides tiered, multi-layered request validation and authorization.
- SHA256 encrypted request Signing.
- Interface and Handler based endpoint definition and implementation.
- Built-in support for:
- Scheduled processes using cron.
- Transactional emails
- SMS via Twilio
Parsony Framework also includes a CLI Tool and Web App Starter Kit including React/Redux along with Semantic UI.
Installation
$ npm install --save parsony
Usage
const path = require('path');
global.base = __dirname + path.sep;
global.parsony = require('parsony');
const settings = {
files:{
configs: path.join(__dirname, 'config.json'),
_404: path.join(__dirname, 'static','404.html')
},
directories:{
models: path.join(__dirname, 'models'),
services: path.join(__dirname, 'services'),
scheduled: path.join(__dirname, 'scheduled'),
www: path.join(__dirname, 'static'),
templates: path.join(__dirname, 'templates')
}
};
try{
parsony.init(settings);
parsony.start()
.then(app =>{})
.catch(e => {
console.error(e.message);
process.exit();
});
}
catch(e){
console.error(e.message);
process.exit();
}
Documentation
Documentation on the use of Parsony-Core can be found at Parsony WebServices
License
The MIT License
Copyright (c) 2010-2018 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.