{"id":21654364,"url":"https://github.com/master4novice/learning","last_synced_at":"2026-05-10T15:33:48.960Z","repository":{"id":150915790,"uuid":"585471289","full_name":"Master4Novice/Learning","owner":"Master4Novice","description":"Learning AWS","archived":false,"fork":false,"pushed_at":"2023-01-05T08:57:26.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-25T06:25:00.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Master4Novice.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}},"created_at":"2023-01-05T08:57:22.000Z","updated_at":"2023-01-05T08:57:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"96ec2ca1-3495-45c8-90c2-253bc82d8469","html_url":"https://github.com/Master4Novice/Learning","commit_stats":null,"previous_names":["master4novice/learning"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Master4Novice%2FLearning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Master4Novice%2FLearning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Master4Novice%2FLearning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Master4Novice%2FLearning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Master4Novice","download_url":"https://codeload.github.com/Master4Novice/Learning/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554119,"owners_count":20471172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-25T08:27:38.667Z","updated_at":"2026-05-10T15:33:43.934Z","avatar_url":"https://github.com/Master4Novice.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome to the AWS CodeStar sample web application\n==================================================\n\nThis sample code helps get you started with a simple Java web application\ndeployed by AWS Elastic Beanstalk and AWS CloudFormation.\n\nWhat's Here\n-----------\n\nThis sample includes:\n\n* README.md - this file\n* .ebextensions/ - this directory contains the Java configuration file that\n  allows AWS Elastic Beanstalk to deploy your Java application\n* buildspec.yml - this file is used by AWS CodeBuild to build the web\n  application\n* pom.xml - this file is the Maven Project Object Model for the web application\n* src/main - this directory contains your Java service source files\n* src/test - this directory contains your Java service unit test files\n* template.yml - this file contains the description of AWS resources used by AWS\n  CloudFormation to deploy your infrastructure\n* template-configuration.json - this file contains the project ARN with placeholders used for tagging resources with the project ID  \n\n\nGetting Started\n---------------\n\nThese directions assume you want to develop on your development environment or a Cloud9 environment, and not\nfrom the Amazon EC2 instance itself. If you're on the Amazon EC2 instance, the\nvirtual environment is already set up for you, and you can start working on the\ncode.\n\nTo work on the sample code, you'll need to clone your project's repository to your\nlocal computer. If you haven't, do that first. You can find instructions in the AWS CodeStar user guide at https://docs.aws.amazon.com/codestar/latest/userguide/getting-started.html#clone-repo.\n\n1. Install maven. See https://maven.apache.org/install.html for details.\n\n2. Install tomcat. See https://tomcat.apache.org/tomcat-8.0-doc/setup.html for\n   details.\n\n3. Build the application.\n\n        $ mvn -f pom.xml compile\n        $ mvn -f pom.xml package\n\n4. Copy the built application to the Tomcat webapp directory.  The actual\n   location of that directory will vary depending on your platform and\n   installation.\n\n        $ cp target/ROOT.war \u003ctomcat webapp directory\u003e\n\n4. Restart your tomcat server\n\n5. Open http://127.0.0.1:8080/ in a web browser to view your application.\n\nWhat Do I Do Next?\n------------------\n\nOnce you have a virtual environment running, you can start making changes to\nthe sample Java web application. We suggest making a small change to\n/src/main/webapp/WEB-INF/views/index.jsp first, so you can see how changes\npushed to your project's repository are automatically picked up and deployed\nto the Amazon EC2 instance by AWS Elastic Beanstalk. (You can watch the progress\non your project dashboard.) Once you've seen how that works, start developing\nyour own code, and have fun!\n\nTo run your tests locally, go to the root directory of the sample code and run the\n`mvn clean compile test` command, which AWS CodeBuild also runs through your `buildspec.yml` file.\n\nTo test your new code during the release process, modify the existing tests or add tests\nto the tests directory. AWS CodeBuild will run the tests during the build stage of your\nproject pipeline. You can find the test results in the AWS CodeBuild console.\n\nLearn more about Maven's [Standard Directory Layout](https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html).\n\nLearn more about AWS CodeBuild and how it builds and tests your application here:\nhttps://docs.aws.amazon.com/codebuild/latest/userguide/concepts.html\n\nLearn more about AWS CodeStar by reading the user guide.  Ask questions or make\nsuggestions on our forum.\n\nUser Guide: https://docs.aws.amazon.com/codestar/latest/userguide/welcome.html\n\nForum: https://forums.aws.amazon.com/forum.jspa?forumID=248\n\nHow Do I Add Template Resources to My Project?\n------------------\n\nTo add AWS resources to your project, you'll need to edit the `template.yml`\nfile in your project's repository. You may also need to modify permissions for\nyour project's worker roles. After you push the template change, AWS CodeStar\nand AWS CloudFormation provision the resources for you.\n\nSee the AWS CodeStar user guide for instructions to modify your template:\nhttps://docs.aws.amazon.com/codestar/latest/userguide/how-to-change-project.html#customize-project-template\n\nWhat Should I Do Before Running My Project in Production?\n------------------\n\nAWS recommends you review the security best practices recommended by the framework\nauthor of your selected sample application before running it in production. You\nshould also regularly review and apply any available patches or associated security\nadvisories for dependencies used within your application.\n\nBest Practices: https://docs.aws.amazon.com/codestar/latest/userguide/best-practices.html?icmpid=docs_acs_rm_sec\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaster4novice%2Flearning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaster4novice%2Flearning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaster4novice%2Flearning/lists"}