An open API service indexing awesome lists of open source software.

https://github.com/jagoda11/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. ๐Ÿ’ป
https://github.com/jagoda11/aws-lambda-isogram-checker

api-gateway aws aws-cli aws-lambda cloud-computing coding-challenge event-driven infrastructure-as-code isogram isogram-detection-algorithm lambda-functions node programming serverless typescript

Last synced: 7 months ago
JSON representation

๐Ÿš€ 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. ๐Ÿ’ป

Awesome Lists containing this project

README

          

# ๐Ÿ“š Isogram Checker

![Last Commit](https://img.shields.io/github/last-commit/Jagoda11/AWS-Lambda-Isogram-Checker/main?style=flat-square&color=blue)
![Open Issues](https://img.shields.io/github/issues/Jagoda11/AWS-Lambda-Isogram-Checker?style=flat-square&color=orange)
![Build Status](https://github.com/Jagoda11/AWS-Lambda-Isogram-Checker/actions/workflows/npm-update.yml/badge.svg?branch=main)

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.

### ๐Ÿ›ก๏ธ Dependency Update and Vulnerability Scan

This workflow is scheduled to run daily and can also be triggered manually. It performs the following tasks:

- **Updates all npm dependencies** to their latest versions.
- **Performs a vulnerability scan** using Debricked to ensure that updated dependencies do not introduce security vulnerabilities.
- **Commits and pushes any changes** if dependencies are updated successfully.

These workflows help maintain the health and security of the project, ensuring it remains robust and up-to-date.

## ๐Ÿ“ Examples of Isograms

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

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