{"id":18686640,"url":"https://github.com/danijeldragicevic/flask-app-dockerized","last_synced_at":"2026-04-13T12:31:14.450Z","repository":{"id":258566439,"uuid":"874182326","full_name":"danijeldragicevic/flask-app-dockerized","owner":"danijeldragicevic","description":"Simple Python (Flask) app. Containerized with Docker.","archived":false,"fork":false,"pushed_at":"2024-10-18T07:30:16.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T19:08:28.732Z","etag":null,"topics":["docker","flask","hyperskill-solutions","python3"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danijeldragicevic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-17T11:47:57.000Z","updated_at":"2024-10-18T07:30:20.000Z","dependencies_parsed_at":"2024-10-19T15:43:46.290Z","dependency_job_id":null,"html_url":"https://github.com/danijeldragicevic/flask-app-dockerized","commit_stats":null,"previous_names":["danijeldragicevic/flask-app-dockerized"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danijeldragicevic/flask-app-dockerized","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fflask-app-dockerized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fflask-app-dockerized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fflask-app-dockerized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fflask-app-dockerized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danijeldragicevic","download_url":"https://codeload.github.com/danijeldragicevic/flask-app-dockerized/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fflask-app-dockerized/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31753007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["docker","flask","hyperskill-solutions","python3"],"created_at":"2024-11-07T10:28:24.617Z","updated_at":"2026-04-13T12:31:14.431Z","avatar_url":"https://github.com/danijeldragicevic.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask App - Dockerized\n\nThis is Python web application with a single endpoint (/) exposed on port 8000.\nThe application is containerized using the Docker.\n\n# Technology\n- Python 3.13.0\n- Flask 2.3.2\n- Docker 27.2.0\n\n# To run without Docker\n1. Create the Virtual Environment:\n```\n$ python3 -m venv venv\n```\n\u003cbr\u003e\n\n2. Activate the Virtual Environment:\n```\n$ source venv/bin/activate  # on macOS and Linux\n\n$ venv\\Scripts\\activate     # on Windows\n```\n\u003cbr\u003e\n\n3. Install Dependencies:\n```\n$ pip install -r requirements.txt\n```\n\u003cbr\u003e\n\n4. Run the Application:\n```\n$ python main.py\n```\n\u003cbr\u003e\n\n5. Test the Application\n```\n$ curl http://localhost:8000/\n```\nExpected result:\n```\n{\"first_name\":\"Hyper\",\"id\":\"90\",\"last_name\":\"Skill\"}\n```\n\n# To run with the Docker\n1. Navigate to the project root directory and build the Image:\n```\n$ docker build -t flask-app .\n```\n\u003cbr\u003e\n\n2. Run the Docker Container:\n```\n$ docker run -d -p 8000:8000 flask-app\n```\n\u003cbr\u003e\n\n3. Test the Application:\n```\n$ curl http://localhost:8000/\n```\nExpected result:\n```\n{\"first_name\":\"Hyper\",\"id\":\"90\",\"last_name\":\"Skill\"}\n```\n\n# Licence\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanijeldragicevic%2Fflask-app-dockerized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanijeldragicevic%2Fflask-app-dockerized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanijeldragicevic%2Fflask-app-dockerized/lists"}