{"id":19581079,"url":"https://github.com/tsamaya/aws-lambda-whereis","last_synced_at":"2026-04-15T16:32:49.969Z","repository":{"id":147713235,"uuid":"112428566","full_name":"tsamaya/aws-lambda-whereis","owner":"tsamaya","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-10T19:17:15.000Z","size":1139,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T12:17:27.067Z","etag":null,"topics":["aws-lambda","geocoder","google","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsamaya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-29T04:57:04.000Z","updated_at":"2022-12-06T19:00:16.000Z","dependencies_parsed_at":"2023-05-27T05:30:18.723Z","dependency_job_id":null,"html_url":"https://github.com/tsamaya/aws-lambda-whereis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tsamaya/aws-lambda-whereis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsamaya%2Faws-lambda-whereis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsamaya%2Faws-lambda-whereis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsamaya%2Faws-lambda-whereis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsamaya%2Faws-lambda-whereis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsamaya","download_url":"https://codeload.github.com/tsamaya/aws-lambda-whereis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsamaya%2Faws-lambda-whereis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31849768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws-lambda","geocoder","google","nodejs"],"created_at":"2024-11-11T07:32:30.889Z","updated_at":"2026-04-15T16:32:49.954Z","avatar_url":"https://github.com/tsamaya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-lamba-whereis\n\n[![Build Status](https://travis-ci.org/tsamaya/aws-lambda-whereis.svg?branch=master)](https://travis-ci.org/tsamaya/aws-lambda-whereis) [![codecov](https://codecov.io/gh/tsamaya/aws-lambda-whereis/branch/develop/graph/badge.svg)](https://codecov.io/gh/tsamaya/aws-lambda-whereis)\n\n:warning: work in progress with webpack / es6\n\n## Quick start\n\n### Prerequisites\n\n- node, npm or yarn\n- serverless : `$ npm install -g serverless`\n- what3words API key : [register](https://accounts.what3words.com/)\n- opencagedata API key : [register](https://geocoder.opencagedata.com/users/sign_up)\n- google API key : [register](https://developers.google.com/)\n\n### AWS - Credentials\nTo deploy; an AWS account is needed, AWS lambda is available with the free tier account for 12 months : https://aws.amazon.com/lambda/pricing/\n\n[Watch the video on setting up credentials](https://www.youtube.com/watch?v=KngM5bfpttA)\n\nor look at serverless documentation about [credentials](https://serverless.com/framework/docs/providers/aws/guide/credentials/)\n\nAdding a profile on the AWS config\n\n    $ serverless config credentials --provider aws --key \u003cYOUR-AWS-KEY\u003e --secret \u003cYOUR-AWS-SECRET\u003e --profile \u003cnamedProfile\u003e\n\n### Clone the repo\n\n\t$ git clone https://github.com/tsamaya/aws-lambda-whereis.git\n\n\t$ cd aws-lambda-whereis\n\n### Setup\n\n\t$ npm i\n\ncreate `environment.yml` file\n\n    $ serverless env --attribute GOOGLE_API_KEY --value \u003cYOUR-GOOGLE-API-KEY\u003e --stage dev\n\n    $ serverless env --attribute W3W_API_KEY --value \u003cYOUR-W3W-API-KEY\u003e --stage dev\n\n    $ serverless env --attribute OPCD_API_KEY --value \u003cYOUR-OPEN-CAGE-DATA-API-KEY\u003e --stage dev\n\ncreate `.env` file\n\n    $ serverless env generate\n\n### Running locally\n\n    $ sls offline start\n\n    or\n\n    $ npm start\n\n#### sunny tests\n\n  $ curl \"http://localhost:3000/whereis?lat=40.714224\u0026lng=-73.961452\"\n\n  $ curl \"http://localhost:3000/whereis?addr=index.home.raft\"\n\n#### rainy tests\n\n    $ curl \"http://localhost:3000/whereis\"\n\n    $ curl \"http://localhost:3000/whereis?lat=40.714224\"\n\n    $ curl \"http://localhost:3000/whereis?lat=aa\u0026lng=bb\"\n\n    $ curl \"http://localhost:3000/whereis?addr=aa.bb.cc\"\n\n\n### deploy\n\n    $ sls --aws-profile \u003cnamedProfile\u003e --stage \u003cstage\u003e deploy\n\n### display logs\n\n    $ sls --aws-profile \u003cnamedProfile\u003e --stage \u003cstage\u003e logs -f whereIs -t\n\n### Unit tests and coverage\n\n    $ npm test\n\n    $ npm run coverage\n\n\n## Revision history\n\n  1.1.0   TBD         ES6 and webpack rework, keep one function\n  1.0.0   06/12/2017  Creation with 2 functions\n\n## Resources\n\n- [serverless](https://serverless.com)\n\n\n## Licensing\n\nLicensed under the MIT License\n\nA copy of the license is available in the repository's [LICENSE](LICENSE.md) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsamaya%2Faws-lambda-whereis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsamaya%2Faws-lambda-whereis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsamaya%2Faws-lambda-whereis/lists"}