{"id":17281568,"url":"https://github.com/markusl/kilometrikisa-proxy","last_synced_at":"2026-01-20T12:32:51.852Z","repository":{"id":42362222,"uuid":"109388002","full_name":"markusl/kilometrikisa-proxy","owner":"markusl","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-30T19:06:51.000Z","size":5087,"stargazers_count":0,"open_issues_count":20,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T09:28:25.967Z","etag":null,"topics":["aws","es6","javascript","kilometrikisa","lambda","serverless"],"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/markusl.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":"2017-11-03T11:28:48.000Z","updated_at":"2020-08-02T10:39:29.000Z","dependencies_parsed_at":"2023-01-31T14:00:33.510Z","dependency_job_id":null,"html_url":"https://github.com/markusl/kilometrikisa-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markusl/kilometrikisa-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusl%2Fkilometrikisa-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusl%2Fkilometrikisa-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusl%2Fkilometrikisa-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusl%2Fkilometrikisa-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusl","download_url":"https://codeload.github.com/markusl/kilometrikisa-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusl%2Fkilometrikisa-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"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","es6","javascript","kilometrikisa","lambda","serverless"],"created_at":"2024-10-15T09:46:14.311Z","updated_at":"2026-01-20T12:32:51.838Z","avatar_url":"https://github.com/markusl.png","language":"JavaScript","readme":"## What is this?\n\nKilometrikisa-proxy is a simple proxy service for accessing data in Kilometrikisa.fi site. \n\nThere service includes four endpoints:\n - /login which fetches basic details of user\n - /user \n - /team\n - /updateLog\n\n## Deployment\n\nAdd the necessary AWS credentials to your environment and run.\n\n```\nserverless deploy\n```\n\nThe command will create a lambda function and needed endpoints to API gateway.\n\nTo remove the service, simply run \n\n```\nserverless deploy\n```\n\n## Testing\n\nYou can invoke the lambda function directly using sample data.\n\n```\nserverless invoke local -f kilometrikisa-handler -l --path examples/login1.json\nserverless invoke local -f kilometrikisa-handler -l --path examples/user.json\nserverless invoke local -f kilometrikisa-handler -l --path examples/team.json\n```\n\nThe cloud deployed version can be tested leaving out the locale keyword.\n\n```\nserverless invoke -f kilometrikisa-handler -l --path examples/login1.json\nserverless invoke -f kilometrikisa-handler -l --path examples/user.json\nserverless invoke -f kilometrikisa-handler -l --path examples/team.json\n```\n\nOr by using curl\n```\ncurl 'https://api-address.execute-api.eu-west-1.amazonaws.com/prod/login?username=username_here\u0026password=pw_here'\ncurl 'https://api-address.execute-api.eu-west-1.amazonaws.com/prod/user?username=username_here\u0026password=pw_here'\ncurl 'https://api-address.execute-api.eu-west-1.amazonaws.com/prod/team?username=username_here\u0026password=pw_here'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusl%2Fkilometrikisa-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkusl%2Fkilometrikisa-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusl%2Fkilometrikisa-proxy/lists"}