{"id":21696436,"url":"https://github.com/madetech/serverless-elasticsearch","last_synced_at":"2026-05-03T01:37:04.812Z","repository":{"id":56618316,"uuid":"307685605","full_name":"madetech/serverless-elasticsearch","owner":"madetech","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-06T12:11:26.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-01-25T14:11:37.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madetech.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-27T12:01:30.000Z","updated_at":"2020-11-06T12:11:28.000Z","dependencies_parsed_at":"2022-08-15T22:01:02.253Z","dependency_job_id":null,"html_url":"https://github.com/madetech/serverless-elasticsearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fserverless-elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fserverless-elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fserverless-elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fserverless-elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madetech","download_url":"https://codeload.github.com/madetech/serverless-elasticsearch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244636003,"owners_count":20485441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T19:19:52.725Z","updated_at":"2025-10-05T23:35:56.429Z","avatar_url":"https://github.com/madetech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Elasticsearch\n\nRe-index data from DynamoDB to Elasticsearch in case of indexing failure or bad data.\n\n## Quick Start\n\n### Install Packages\n\n```sh\nnpm i\n```\n\n### To run tests\n\n(This requires the global Jest CLI: `npm i -g jest`)\n\n```sh\nnpm test\n```\n\n### To watch tests and rerun on save\n\n```sh\njest --watch\n```\n\n### To deploy serverless stack\n\nYou'll need to [set up your AWS credentials](https://www.serverless.com/framework/docs/providers/aws/guide/credentials/) and install the serverless CLI globally first (`npm i -g serverless` as `sls` is used in the npm script)\n\n```sh\nnpm run deploy\n```\n\n### To invoke a lambda\n\nLocally:\n\n```sh\nsls invoke local --function data -s staging -d '{ \"body\": \"{\\\"name\\\":\\\"Baby Driver\\\"}\"}'\n```\n\nor in AWS via:\n\n```sh\nsls invoke --function data -s staging -d '{ \"body\": \"{\\\"name\\\":\\\"Baby Driver\\\"}\"}'\n```\n\n### To pause db streaming and reindex to a new index\n\n- sls invoke -function remove-trigger -s staging\n- update ES_INDEX_NAME in serverless.yml and deploy (would be good to pass this in as arg in future)\n- sls invoke -function reindex -s staging\n- sls invoke -function add-trigger -s staging\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Fserverless-elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadetech%2Fserverless-elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Fserverless-elasticsearch/lists"}