{"id":21923486,"url":"https://github.com/vane-tech/clojure-meetup-ring-lambda","last_synced_at":"2025-03-22T11:17:59.652Z","repository":{"id":122387646,"uuid":"73190488","full_name":"vane-tech/clojure-meetup-ring-lambda","owner":"vane-tech","description":"A silly ring/lambda example for a Clojure Meetup presentation","archived":false,"fork":false,"pushed_at":"2016-11-08T16:23:35.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-27T10:45:00.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vane-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2016-11-08T13:52:58.000Z","updated_at":"2016-11-08T13:53:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e4005b4-0dbb-4a6c-a6f3-65413516e5cc","html_url":"https://github.com/vane-tech/clojure-meetup-ring-lambda","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/vane-tech%2Fclojure-meetup-ring-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vane-tech%2Fclojure-meetup-ring-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vane-tech%2Fclojure-meetup-ring-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vane-tech%2Fclojure-meetup-ring-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vane-tech","download_url":"https://codeload.github.com/vane-tech/clojure-meetup-ring-lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244945625,"owners_count":20536297,"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-28T21:11:50.918Z","updated_at":"2025-03-22T11:17:59.604Z","avatar_url":"https://github.com/vane-tech.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The coolest animal from ring to AWS Lambda\n\nIt's a simple example demonstrating (check the commit history) how a ring app\ncan be easily transformed into an AWS Lambda function.\n\nTo run it on AWS Lambda, generate an uberjar first:\n\n`lein uberjar`\n\nThen you need to create the function:\n```\naws lambda create-function \\\n      --region eu-west-1 \\\n      --function-name clojure-meetup-coolest-animal \\\n      --zip-file fileb://$(pwd)/target/uberjar/coolest-animal-ring-lambda-0.1.0-SNAPSHOT-standalone.jar \\\n      --role arn:aws:iam::YOUR_ACCOUNT_ID:role/lambda_basic_execution \\\n      --handler coolest-animal-ring-lambda.core.HandlerFn \\\n      --runtime java8\n```\n\n...and finally, call it:\n\n```\naws lambda invoke \\\n      --invocation-type RequestResponse \\\n      --function-name clojure-meetup-coolest-animal \\\n      --region eu-west-1 \\\n      --payload '\"elephant,turtle,camel,crocodile,poodle\"' \\\n      out.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvane-tech%2Fclojure-meetup-ring-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvane-tech%2Fclojure-meetup-ring-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvane-tech%2Fclojure-meetup-ring-lambda/lists"}