python-web-api-flask-json-to-elasticsearch-github

Description

Creates an api of git-repo for a flask project by loading json into elasticsearch.

Elasticsearch DSL is used to build a proxy connection to the elasticsearch service.

Has the ability to query by parameters and pagination.

Uses redis as a cache layer for queries.

Security

Self-signed ssl certificate for both web and api requests. Requires basic authentication for endpoints.

username password
user pass

Testing

Unit tests ran when program begins. Remotely tested with testify, the ssl is not verified.

Tech stack

  • python
    • flask
    • flask-httpauth
    • pyopenssl
    • elasticsearch
    • redis
    • unittest
    • testify

Docker stack

  • python:latest
  • elasticsearch
  • kibana
  • redis

To run

sudo ./install.sh -u

To stop

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credits