Giter VIP home page Giter VIP logo

addressbookeai's Introduction

AddressBookEAI

An address book RESTful API for the EAI coding challenge

To use the RESTful API first edit the eab.config file to hold the host and port data. The default is localhost and 9200. Once running the API will respond to curl or other http requests as specified.

  • EAB_Server.py: the RESTful API for the Elasticsearch Address Book
  • ElasitcAB.py: layer that actually interacts with Elasticsearch
  • Contact.py: Used by ElasticAB and the Unit test file for checking instance of data return types
  • Populate.py: A script to fill a local Elasticsearch with dummy data for testing, is called by populate to test list function. has dependencies of names (pip install names) and Faker (pip install Faker)
  • EAB_UnitTest.py: contains a handful of unit tests for ElasticAB.py

I also made a web interface that can perform all the same tasks as the EAB_Server. In this, the host and port can be defined on the landing page. This, however, does not utilize all the VERBs as it should for a RESTful API.

  • EAB_WebGUI.py: the front-end layer that will display web pages to use the ElasticAB graphically
  • templates: holds the html files for the WebGUI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.