{"id":21002509,"url":"https://github.com/buildwithlal/digitaltolk-assessment-task","last_synced_at":"2026-03-19T18:23:51.094Z","repository":{"id":263093902,"uuid":"889333572","full_name":"BuildWithLal/digitaltolk-assessment-task","owner":"BuildWithLal","description":"A small task to assess Python and Terraform skills.","archived":false,"fork":false,"pushed_at":"2024-11-16T05:46:59.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T12:06:22.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BuildWithLal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-16T05:15:09.000Z","updated_at":"2024-11-16T05:47:03.000Z","dependencies_parsed_at":"2024-11-16T06:21:27.692Z","dependency_job_id":"633d972c-fa0d-4e31-b418-0c52a4d3a7cc","html_url":"https://github.com/BuildWithLal/digitaltolk-assessment-task","commit_stats":null,"previous_names":["buildwithlal/digitaltolk-assessment-task"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BuildWithLal/digitaltolk-assessment-task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fdigitaltolk-assessment-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fdigitaltolk-assessment-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fdigitaltolk-assessment-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fdigitaltolk-assessment-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BuildWithLal","download_url":"https://codeload.github.com/BuildWithLal/digitaltolk-assessment-task/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fdigitaltolk-assessment-task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T08:18:57.492Z","updated_at":"2026-01-31T04:32:36.144Z","avatar_url":"https://github.com/BuildWithLal.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"### FastAPI and Terraform Assessment Task\n\n\n#### Set Up Locally\n\n1. Clone the Repository\n\n   ```bash\n   git clone https://github.com/BuildWithLal/digitaltolk-assessment-task.git\n   ```\n   \n   ```bash\n   cd digitaltolk-assessment-task\n   ```\n\n\u003cbr/\u003e\n\n2. Set Up Infrastructure\n\n   Navigate to the Infrastructure directory\n   ```bash\n   cd infrastructure\n   ```\n\n    Initialize Terraform:\n   ```bash\n   terraform init\n   ```\n\n\u003cbr/\u003e\n\n3. Update VPC and Subnet IDs in `Infrastructure/terraform.tfvars`\n   ```bash\n   vpc_id = \"vpc-***********\"\n   public_subnet_id = \"subnet-*********\"\n   ```\n\n\u003cbr/\u003e\n\n4. Preview the resources to be created\n   ```bash\n   terraform plan\n   ```\n\n\u003cbr/\u003e\n\n5. Apply the configuration to create the AWS resources:\n   ```bash\n   terraform apply\n   ```\n\n   Type `yes` when prompted.\n\n\n\u003cbr/\u003e\n\n6. SSH into Bastion Instance\n    ```bash\n    ssh ubuntu@{OUTPUT_IP_FROM_TERRAFORM_APPLY}\n    ```\n\n\u003cbr/\u003e\n\n#### Set Up the FastAPI Application\n\nNavigate to the root directory and run\n\n   ```bash\n   docker compose up\n   ```\n\nVisit application at http://localhost:8000\n\n\u003cbr/\u003e\n\n#### Clean Up\n\nTo avoid unnecessary AWS charges and Resource consumption on local machine, clean up the resources you created:\n\n\u003cbr/\u003e\n\nNavigate back to the Infrastructure directory\n\n   ```bash\n   cd infrastructure\n   ```\n\u003cbr/\u003e\n\nDestroy the resources:\n   ```bash\n   terraform destroy\n   ```\n\n   Type `yes` when prompted.\n\n\n\u003cbr/\u003e\n\nNavigate to the root directory\n\nPress **CTRL + C** to stop the FastAPI application\n\n\u003cbr/\u003e\n\nRemove container and other resources\n   ```bash\n   docker compose down\n   ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildwithlal%2Fdigitaltolk-assessment-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildwithlal%2Fdigitaltolk-assessment-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildwithlal%2Fdigitaltolk-assessment-task/lists"}