Below are the few development tasks we can take up next..[Updated]
- Integrating CD for Dev and Test environments in the pipeline.
- Setup test cases for the code.
- Dockerize the application.
- Configure Code quality step in the pipeline using Sonar cloud.
- Setup monitoring in cloudwatch for the code deploy.
URL for uploaded artifact: https://api.github.com/repos/acenawaz01/UnitConversion/actions/artifacts
To Setup Project:
- Fork this repo.
- Configure access key and secret key as secret in github (Settings --> Secrets)
- Update access keys in terraform/main.tf
- Checkout repo locally and cd to terraform folder.
- Run "terraform init" followed by "terraform apply"
- This will take care of setting up entire infrastructure including EC2 and CodeDeploy.
- Once you commit in master branch, it wll trigger workflow and the deployment in Codedeploy.
The source code returns result via REST API: Put the inputs in URL browser in below format to get output or make curl call. Sample Output: http://54.163.88.86/result?from_unit=Fahrenheit&to_unit=Rankine&question_value=84.2&entered_answer=543.94 - correct http://54.163.88.86/result?from_unit=Kelvin&to_unit=Fahrenheit&question_value=317.33&entered_answer=111.554 - incorrect http://54.163.88.86/result?from_unit=Fahrenheit&to_unit=Rankine&question_value=6.5&entered_answer=dog - incorrect http://54.163.88.86/result?from_unit=dogcow&to_unit=Celsius&question_value=136.1&entered_answer=45.32 - invalid