/AWS-Lambda-Isogram-Checker

๐Ÿš€ Dive into this AWS Lambda function that determines if a word or phrase is an isogram, showcasing a serverless solution to the challenge. The repository offers insights into deploying an isogram checker that can integrate with API Gateway or process files in a cloud environment. ๐Ÿ’ป

Primary LanguageJavaScriptMIT LicenseMIT

๐Ÿ“š Isogram Checker

Last Commit Open Issues

This is a serverless application that checks if a word or phrase is an isogram. An isogram (also known as a "non-pattern word") is a word or phrase without a repeating letter. However, spaces and hyphens are allowed to appear multiple times.

๐Ÿ—๏ธ Architecture

The application is deployed on AWS using CloudFormation. It uses an AWS Lambda function to process the words and an API Gateway to expose the functionality as a REST API. The Lambda function is written in Node.js.

The AWS resources used by the application are defined in the CloudFormation templates cloudformation-template-update-stack.json and cloudformation-template-create-stack.json.

๐Ÿš€ Usage

You can use the API Gateway to check if a word is an isogram. Send a GET request to the API Gateway URL with the word as a query parameter.

๐Ÿ“œ Scripts

  • ๐Ÿงช Test: npm run test - Runs the Jest test suite.
  • ๐Ÿš€ Deploy: npm run deploy - Deploys the application using Serverless.

๐Ÿ“ Examples of Isograms

  • lumberjacks
  • background
  • downstream
  • six-year-old

Note: The word "isograms" is not an isogram, because the letter "s" repeats.