{"id":20895369,"url":"https://github.com/gopikrsmscs/simple-flask-application","last_synced_at":"2026-04-30T05:33:18.248Z","repository":{"id":124193721,"uuid":"170644816","full_name":"gopikrsmscs/simple-flask-application","owner":"gopikrsmscs","description":"GitHub repository for AWS CodeStar Python (Flask) web service first-flask.","archived":false,"fork":false,"pushed_at":"2019-02-22T19:03:01.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T22:58:08.866Z","etag":null,"topics":["flask","pyhton"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/gopikrsmscs.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":"2019-02-14T07:10:54.000Z","updated_at":"2022-09-26T04:27:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"a10b36c4-1794-451a-9e6f-5c64446ec055","html_url":"https://github.com/gopikrsmscs/simple-flask-application","commit_stats":null,"previous_names":["pavulurig/simple-flask-application","gopikrsmscs/simple-flask-application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gopikrsmscs/simple-flask-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fsimple-flask-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fsimple-flask-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fsimple-flask-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fsimple-flask-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gopikrsmscs","download_url":"https://codeload.github.com/gopikrsmscs/simple-flask-application/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fsimple-flask-application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32456165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["flask","pyhton"],"created_at":"2024-11-18T10:28:34.661Z","updated_at":"2026-04-30T05:33:14.607Z","avatar_url":"https://github.com/gopikrsmscs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome to the AWS CodeStar sample web service\n==============================================\n\nThis sample code helps get you started with a simple Flask web service\ndeployed by AWS CodeDeploy and AWS CloudFormation to an Amazon EC2 server.\n\nWhat's Here\n-----------\n\nThis sample includes:\n\n* README.md - this file\n* appspec.yml - this file is used by AWS CodeDeploy when deploying the web\n  application to EC2\n* buildspec.yml - this file is used by AWS CodeBuild to build and test\n  your application\n* requirements.txt - this file is used install Python dependencies needed by\n  the Flask application\n* setup.py - this file is used by Python's setuptools library to describe how\n  your application will be packaged and installed\n* scripts/ - this directory contains scripts used by AWS CodeDeploy when\n  installing and deploying your application on the Amazon EC2 instance\n* helloworld/ - this directory contains the Python source code for your Flask application\n* tests/ - this directory contains unit tests for your application\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\nGetting Started\n---------------\n\nThese directions assume you want to develop on your local computer, 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\nAWS CodeStar user guide.\n\n1. Create a Python virtual environment for your Django project. This virtual\n   environment allows you to isolate this project and install any packages you\n   need without affecting the system Python installation. At the terminal, type\n   the following command:\n\n        $ virtualenv .venv\n\n2. Activate the virtual environment:\n\n        $ activate ./venv/bin/activate\n\n3. Install Python dependencies for this project:\n\n        $ pip install -r requirements.txt\n\n4. Install the sample application code into your virtual environment:\n\n        $ python setup.py install\n\n5. Start the Flask development server:\n\n        $ python helloworld/application.py --port 8000\n\n6. Open http://127.0.0.1:8000/ in a web browser to view the output of your\n   service.\n\nWhat Do I Do Next?\n------------------\n\nOnce you have a virtual environment running, you can start making changes to\nthe sample Flask web service. We suggest making a small change to\n/src/application.py first, so you can see how changes pushed to your project's\nrepository are automatically picked up by your project pipeline and deployed to\nthe Amazon EC2 instance. (You can watch the pipeline progress on your project dashboard.)\nOnce you've seen how that works, start developing your own code, and have fun!\n\nTo run your tests locally, go to the root directory of the sample code and run\nthe `python setup.py pytest` command, which AWS CodeBuild also runs through\nyour `buildspec.yml` file.\n\nTo test your new code during the release process, modify the existing tests or\nadd tests to the tests directory. AWS CodeBuild will run the tests during the\nbuild stage of your project pipeline. You can find the test results\nin the AWS CodeBuild console.\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: http://docs.aws.amazon.com/codestar/latest/userguide/welcome.html\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#customize-project-template.html\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%2Fgopikrsmscs%2Fsimple-flask-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgopikrsmscs%2Fsimple-flask-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopikrsmscs%2Fsimple-flask-application/lists"}