llavero
llavero copied to clipboard
Develop Service B: Implement configureSubdomain Function
Pull Request: Develop Service B - Implement configureSubdomain Function
Summary of Changes
- Developed Service B (
apps/domain-requester
) to handle the configuration of subdomains in AWS using the parameters provided by Service A. - Implemented the
configureSubdomain
function indomainRequester.js
to create DNS records for the subdomain in Route 53 and set up a CloudFront distribution if required. - The function returns an object containing the subdomain name, distribution ID, and distribution domain name upon successful configuration.
- Addressed linting errors and ensured compliance with ESLint rules.
Link to Devin Run
User Request
This PR was requested by the user to develop Service B as part of the Llavero Wallet application. The user story involves configuring the main domain in AWS using CloudFront and Route 53 and determining parameters for subdomain configuration.
Checklist
- [x] Implemented the
configureSubdomain
function indomainRequester.js
. - [x] Created DNS records for the subdomain in Route 53.
- [x] Set up a CloudFront distribution for the subdomain if required.
- [x] Ensured the function returns the correct subdomain details.
- [x] Addressed linting errors and ensured compliance with ESLint rules.
- [x] Compiled the code successfully.
- [x] Tested the web app on the local environment.
Notes
- The credentials for integration testing are stored in Secrets.
- The documentation and research findings are written in markdown and added to the
docs/domain-manager
folder. - Best practices for setting up and managing domains and subdomains in AWS are documented, including potential pitfalls and recommendations for optimal performance and security.
Footer
This PR was written by Devin-AI. This Devin run was requested by Mariano.