This repository hosts the code for APIs used in the SingularData.
The APIs are developed in Node.js and handled with AWS Lambda. These APIs are used to preprocess and filter requests sent to the internal open data search engine (in the AWS ElasticSearch service). They include:
-
dataset API that sends search request to the ElasticSearch and returns an array of results
-
admin API that manages the index of ElasticSearch. Authentication is required for this API and it is implemented as a lambda function.
The serverless architecture is used to reduce development effort, make quicker deployment, and lower the cost.
The API definition and lambda functions are managed with the Serverless framework. A continous deployment pipeline is setup with Travis CI to deploy the code at every PR merge.
MIT