-
Notifications
You must be signed in to change notification settings - Fork 0
Foundation #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Foundation #2
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…g Node.js and TypeScript
- Added TypeScript configuration file (tsconfig.json) for project setup. - Implemented logger utility for configurable logging levels and formatting. - Created DynamoDB client utility for simplified interactions with AWS DynamoDB. - Introduced configuration module for environment variable validation using Zod. - Added API Gateway response utility for standardized response handling. - Updated package.json to include new dependencies and build script.
- Replaced the placeholder test command with actual jest commands for testing. - Added commands for test coverage and watch mode. - Included jest and ts-jest as devDependencies. - Added @types/jest for TypeScript support in tests.
…onfiguration utilities - Created a new CDK stack (DataStack) for managing DynamoDB tables with environment-specific configurations. - Added unit tests for DataStack to validate resource properties for dev and prd environments. - Introduced configuration utilities to manage environment variables and validation using Zod. - Implemented Jest tests for configuration utilities to ensure correct behavior and error handling. - Added TypeScript configuration and package.json for infrastructure management.
… build, and cleanup
…ject documentation
- Introduced logging configuration options in the infrastructure guide and environment variables. - Created a new Lambda stack to manage Lambda functions and API Gateway. - Implemented a List Tasks Lambda function with structured logging and error handling. - Added API Gateway integration for the List Tasks function with CORS support. - Enhanced DynamoDB service to retrieve tasks with logging. - Updated tests for Lambda stack, task service, and handlers to cover new logging features and API behavior.
Closed
…er and update resource naming conventions
…n with partition key, update tests accordingly
- Added `CDK_APP_LOGGING_FORMAT` to configuration schema with options for 'text' and 'json'. - Integrated pino as the logging library for structured logging. - Updated logger utility to support both text and JSON formats based on configuration. - Modified logging statements across the application to include contextual information. - Enhanced tests to validate logging behavior for both formats.
…format and lint:fix
… in naming conventions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📢 Instructions
🔧 Change Summary
List the changes included in this pull request.
📝 Checklist
Pull request authors must complete the following tasks before marking the PR as ready to review.
🧪 Steps to Test
Describe the process to test the changes in this pull request.
🔗 Additional Information
Optionally, provide additional details, screenshots, or URLs that may assist the reviewer.