{"id":34525243,"url":"https://github.com/kiva/lambda-view-server","last_synced_at":"2025-12-24T05:07:51.922Z","repository":{"id":20354900,"uuid":"89745288","full_name":"kiva/lambda-view-server","owner":"kiva","description":"A no-db web server using AWS Lambda","archived":false,"fork":false,"pushed_at":"2023-01-12T06:21:50.000Z","size":690,"stargazers_count":3,"open_issues_count":18,"forks_count":1,"subscribers_count":45,"default_branch":"master","last_synced_at":"2024-04-13T09:17:37.654Z","etag":null,"topics":["isomorphic","lambda","serverless"],"latest_commit_sha":null,"homepage":"","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/kiva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-28T21:13:42.000Z","updated_at":"2021-05-10T22:16:20.000Z","dependencies_parsed_at":"2023-01-12T10:15:16.880Z","dependency_job_id":null,"html_url":"https://github.com/kiva/lambda-view-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kiva/lambda-view-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiva%2Flambda-view-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiva%2Flambda-view-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiva%2Flambda-view-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiva%2Flambda-view-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiva","download_url":"https://codeload.github.com/kiva/lambda-view-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiva%2Flambda-view-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27995843,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["isomorphic","lambda","serverless"],"created_at":"2025-12-24T05:07:51.577Z","updated_at":"2025-12-24T05:07:51.915Z","avatar_url":"https://github.com/kiva.png","language":"JavaScript","readme":"# lambda-view-server\nA no-db web server using [Serverless](https://serverless.com/)/[AWS Lambda](https://aws.amazon.com/lambda/)\n\n## Setup\n### Local dependencies\nBring in project dependencies with [Yarn](https://yarnpkg.com)\n```bash\nyarn global add serverless webpack\nyarn install\n```\n\nThey can also be installed with npm if you prefer\n```bash\nnpm install -g serverless webpack\nnpm install\n```\n\n### AWS setup\nFollow the [credentials guide](https://serverless.com/framework/docs/providers/aws/guide/credentials/) from Serverless to configure this project to use your AWS account.\n\n### Environment variables\nThis project expects the following environment variables to be present\n```\nAWS_API_HOST: the url of the api that uses the lambda function (AWS Gateway API url)\nAWS_S3_BUCKET: the S3 bucket where the static resources are deployed\nAWS_STATIC_ROOT: the publicly accessible url of the S3 bucket\n```\nConfigure those variables as appropriate for your system.\n\n## Usage\nTo build the project and deploy to AWS\n```bash\n# using yarn\nyarn deploy\n\n# using npm\nnpm run deploy\n```\n\nTo run the function locally\n```bash\n# with no parameters\nsls invoke local --function server\n\n# specify the route\nsls invoke local --function server --data '{\"pathParameters\":{\"route\":\"routeName\"}}'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiva%2Flambda-view-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiva%2Flambda-view-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiva%2Flambda-view-server/lists"}