{"id":13403597,"url":"https://github.com/claudiajs/example-projects","last_synced_at":"2025-12-29T23:33:47.315Z","repository":{"id":53203998,"uuid":"51643940","full_name":"claudiajs/example-projects","owner":"claudiajs","description":"Simple example projects that show how to use ClaudiaJs","archived":false,"fork":false,"pushed_at":"2021-03-11T22:40:07.000Z","size":4462,"stargazers_count":649,"open_issues_count":8,"forks_count":235,"subscribers_count":45,"default_branch":"master","last_synced_at":"2024-07-31T19:41:40.912Z","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/claudiajs.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":"2016-02-13T11:53:14.000Z","updated_at":"2024-07-15T09:13:20.000Z","dependencies_parsed_at":"2022-09-15T01:57:07.395Z","dependency_job_id":null,"html_url":"https://github.com/claudiajs/example-projects","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/claudiajs%2Fexample-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiajs%2Fexample-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiajs%2Fexample-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiajs%2Fexample-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/claudiajs","download_url":"https://codeload.github.com/claudiajs/example-projects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221449550,"owners_count":16823612,"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-07-30T19:01:32.132Z","updated_at":"2025-12-29T23:33:47.259Z","avatar_url":"https://github.com/claudiajs.png","language":"JavaScript","readme":"# Claudia.js Example projects\n\n\u003cimg src=\"https://claudiajs.com/assets/claudia-logo-letters-500.png\" height=\"300\" align=\"right\" /\u003e\n\n\n## Hello world\n\n* [Hello World](hello-world) \u0026ndash; shows a trivial Node.js Lambda function and how to set up deployment using Claudia.js\n* [Web API](web-api) \u0026ndash; a simple REST api, shows how to configure and deploy an API Gateway interface along with the Lambda function\n\n## Common Development tasks\n\n* [Using NPM Modules](using-npm-modules) \u0026ndash; a slightly more complex function, shows how to deploy third party dependencies using Claudia.js\n* [Using Babel](babel) \u0026ndash; shows how to deploy transpiled Babel code\n* [Environment Variables](env-variables) \u0026ndash; setting and using Lambda environment variables\n* [Detecting Context](detecting-context) \u0026ndash; detect if a function was called for development or production, in order to load the right configuration\n* [Recursive invocation](recursive-invoke) \u0026ndash; an example of how Lambda can asynchronously call itself to work around timing limitations\n* [Packing for AWS SAM](sam-packaging) \u0026ndash; an example of how to use Claudia to prepare packages for deployment using CloudFormation and AWS SAM\n\n## Web API\n\n* [Web Serving HTML](web-serving-html) \u0026ndash; shows how to change error and success content types and response codes, and how to perform browser redirects\n* [Generic handlers](web-api-generic-handlers) \u0026ndash; shows how to capture dynamic paths and set up handlers for any content type easily\n* [Custom response codes](web-api-custom-status-code) \u0026ndash; shows how to change status codes for response\n* [Custom Headers](web-api-custom-headers) \u0026ndash; shows how to return custom headers from API responses\n* [Custom CORS origins](web-api-custom-cors) \u0026ndash; shows how to control allowed CORS origins/headers\n* [Intercepting requests](intercepting-requests) \u0026ndash; an example showing how to prevent or modify requests\n* [Post-deploy variable configuration](web-api-postdeploy-configuration) \u0026ndash; shows how to set up post-deploy hooks to prompt users for stage variables\n* [Generic post-deploy steps](web-api-postdeploy) \u0026ndash; shows how to set up post-deploy hooks for automatic configuration\n* [Using Lambda Context](web-api-lambda-context) \u0026ndash; shows how to access the Lambda Context object from projects built using `claudia-api-builder`\n* [DynamoDB CRUD](dynamodb-example) \u0026ndash; a simple document store, shows how to use DynamoDB and connect it to a CRUD REST API. Also shows how to configure a single Lambda function to work with different resources for development, testing and production.\n* [GraphQL Endpoint](graphql-example) \u0026ndash; GraphQL CRUD operations, using DynamoDB for persistence.\n* [GitHub Repository Labels](github-repo-labels) \u0026ndash; a simple image server, shows how to map URL path components to arguments, how to customise response types and how to connect to third party REST APIs\n* [Using AWS Mobile Analytics for server-side events](aws-mobile-analytics) \u0026ndash; log events into AWS Mobile Analytics for easy internal telemetry\n* [Custom Authorizers](custom-authorizers) \u0026ndash; a simple example of how to set up custom authorizers in API Gateway\n* [Geo location](api-gw-geolocation) \u0026ndash; shows how to retrieve the country where your users originated the request\n* [Binary Content](binary-content) \u0026ndash; shows how to configure API Gateway to send or receive binary data\n* [Twilio \u0026 Shippo webhook](twilio-shippo-webhook) \u0026ndash; shows how to create an API endpoint for processing webhook updates using Twilio and Shippo\n\n## Event processing\n\n* [S3 File Processing](s3-file-processing) \u0026ndash; an example service that converts files uploaded to S3; shows how to wire up Lambda to respond to S3 events\n* [IOT Topic Filters](iot-topic-filter) \u0026ndash; an example how to trigger a function when a message is posted to an IOT Data Topic\n* [Pandoc S3 Converter](pandoc-s3-converter) \u0026ndash; a more complex example that converts S3 files to .docx using Pandoc\n* [SVG to PDF S3 Converter](svg-to-pdf-s3-converter) \u0026ndash; convert SVG files uploaded to S3 to PDF format using RSVG and Cairo\n* [Website Email Alert](website-email-alert) \u0026ndash; periodically check a URL and send an e-mail if it is not available; shows how to send e-mails using SES and set up Lambda functions as scheduled recurring events\n\n## Proxy API\n\n* [Deploying a Proxy API](deploy-proxy-api) \u0026ndash; an example of how to create an API Gateway that will proxy all requests directly to a Lambda function\n* [Running Express Apps in AWS Lambda](express-app-lambda) \u0026ndash; an example of how to deploy an existing Express app with minimal changes to Lambda\n* [Running fastify Apps in AWS Lambda](fastify-app-lambda) \u0026ndash; an example of how to deploy an existing fastify app with minimal changes to Lambda\n\n## Chat-bots\n\n* [Simple Bot](simple-bot) \u0026ndash; an example demonstrating how to receive and respond with simple text messages\n* [Facebook Messenger Bot with Buttons](bot-with-buttons) \u0026ndash; an example showing how to create more complex platform specific messages, for example Facebook buttons\n* [Space Explorer Bot](https://github.com/stojanovic/space-explorer-bot) \u0026ndash; uses NASA's API to get the data and images about the space, shows how to use Facebook Template builders for response messages.\n* [Slack Delayed Reply](slack-delayed-response) \u0026ndash; an example showing how to send delayed and multiple replies for Slack slash commands.\n* [Alexa Skill](alexa-skill) \u0026ndash; an Amazon Echo (Alexa) skill sample that spells out English words\n\n## Examples in other repositories\n\n* [Quote Bot](https://github.com/philnash/quote-bot), showing how to integrate with Twilio\n* [Slack Ping Command](https://github.com/marcusoftnet/pingu), showing how to create a simple Slack command, pinging a Web URL and reporting the result\n* [State-Action-Model](https://github.com/jdubray/sam-samples/tree/master/crud-blog-lambda) example, showing how to use the [SAM pattern](http://sam.js.org/) to create a Lambda-powered blog\n\n\n## More information\n\nFor more information on the Web API configuration syntax, check out the [Claudia API Builder](https://github.com/claudiajs/claudia-api-builder/blob/master/README.md) project. For more information on Claudia.js options, see the [Command Line Usage](https://github.com/claudiajs/claudia/tree/master/docs).\n\n[![Join the chat at https://gitter.im/claudiajs/claudia](https://badges.gitter.im/claudiajs/claudia.svg)](https://gitter.im/claudiajs/claudia?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## Prerequisites\n\nTo get started, make sure your credentials are configured. See the [ClaudiaJS Getting Started Guide](https://github.com/claudiajs/claudia/blob/master/getting_started.md) for more information.\n\nAWS Lambda currently runs Node.js version 10 and 8 (you can choose the runtime with `--runtime` when [creating the function](https://github.com/claudiajs/claudia/blob/master/docs/create.md)). It's best to use the same version for testing and deployment. \n\n","funding_links":[],"categories":["JavaScript","📦 Legacy \u0026 Inactive Projects","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiajs%2Fexample-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaudiajs%2Fexample-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiajs%2Fexample-projects/lists"}