Modular APIs creation using plugins system/ Maya - father of all gods
Package to create APIs endpoints using flask behind. The package is handling the endpoints using a customized plugin system designed by us.
Take a look on plugins examples in the repository https://github.com/colav/HunabKu_plugins
- Install nodejs >=10.x.x ex: 10.13.0
- Debian based system:
apt-get install nodejs
- Redhat based system:
yum install nodejs
- Conda:
conda install nodejs==10.13.0
- Debian based system:
- Install Apidocjs
npm install -g apidoc
as root! - The other dependecies can be installed with pip installing this package.
NOTE:
To start mongodb server on conda please run the next steps
mkdir -p $HOME/data/db
mongodb mongod --dbpath $HOME/data/db/
pip install hunabku
Let's start creating a config file
hunabku_server --generate_config config.py --overwrite
Let's start the server executing
hunabku_server --config config.py
you can access to the apidoc documentation for the endpoints for example on: http://127.0.1.1:8888/apidoc/index.html
if depends of the ip and port that you are providing to hunabku.
BSD-3-Clause License