{"id":24373285,"url":"https://github.com/yevheniidatsenko/goit-pythonweb-hw-03","last_synced_at":"2026-05-08T04:36:39.309Z","repository":{"id":273108758,"uuid":"918694227","full_name":"yevheniidatsenko/goit-pythonweb-hw-03","owner":"yevheniidatsenko","description":"📂 Hometask - FullStack Web Development with Python (Simple Web App)","archived":false,"fork":false,"pushed_at":"2025-01-18T18:45:37.000Z","size":2137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T11:15:57.945Z","etag":null,"topics":["docker","docker-compose","goit-pythonweb-hw-03","http-server","python","websocket"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/yevheniidatsenko.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":"2025-01-18T16:04:19.000Z","updated_at":"2025-01-18T18:48:17.000Z","dependencies_parsed_at":"2025-01-18T18:48:47.525Z","dependency_job_id":"a684e57d-788e-494e-b4bf-2e1e74bf7d17","html_url":"https://github.com/yevheniidatsenko/goit-pythonweb-hw-03","commit_stats":null,"previous_names":["yevheniidatsenko/goit-pythonweb-hw-03"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yevheniidatsenko/goit-pythonweb-hw-03","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yevheniidatsenko%2Fgoit-pythonweb-hw-03","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yevheniidatsenko%2Fgoit-pythonweb-hw-03/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yevheniidatsenko%2Fgoit-pythonweb-hw-03/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yevheniidatsenko%2Fgoit-pythonweb-hw-03/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yevheniidatsenko","download_url":"https://codeload.github.com/yevheniidatsenko/goit-pythonweb-hw-03/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yevheniidatsenko%2Fgoit-pythonweb-hw-03/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260724478,"owners_count":23052749,"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":["docker","docker-compose","goit-pythonweb-hw-03","http-server","python","websocket"],"created_at":"2025-01-19T05:10:32.170Z","updated_at":"2026-05-08T04:36:34.274Z","avatar_url":"https://github.com/yevheniidatsenko.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Web Application\n\n## Overview\n\nThis project implements a simple web application with routing for two HTML pages: `index.html` and `message.html`. The application handles static resources, processes form submissions, and displays stored messages.\n\n## Features\n\n- **Routing**:\n\n  - Two HTML pages: `index.html` and `message.html`.\n  - Static resources: `style.css` and `logo.png`.\n  - Error handling for 404 Not Found with `error.html`.\n\n- **Form Handling**:\n\n  - The form on `message.html` captures `username` and `message`.\n  - Submitted data is converted to a dictionary and saved in `data.json` in the `storage` directory with a timestamp.\n\n- **Message Display**:\n  - A route `/read` displays all stored messages using a Jinja2 template.\n\n## File Structure\n\n```\n/project-directory\n│\n├── storage/\n│   └── data.json\n│\n├── templates/\n│   ├── index.html\n│   ├── message.html\n│   ├── error.html\n│   └── read.html\n│\n├── static/\n│   ├── style.css\n│   └── logo.png\n│\n├── app.py\n└── Dockerfile (optional)\n```\n\n## Requirements\n\n- Python 3.x\n- Flask\n- Jinja2\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd \u003crepository-directory\u003e\n   ```\n\n2. Install the required packages:\n\n   ```bash\n   pip install Flask\n   ```\n\n3. Run the application:\n\n   ```bash\n   python app.py\n   ```\n\n4. Access the application at `http://localhost:3000`.\n\n## Results\n\n- **Homepage**: ![Home Page](./screenshots/SCR_home.png)\n- **Message Page**: ![Message Page](./screenshots/SCR_message_form.png)\n- **Message Sent**: ![Message Sent](./screenshots/SCR_message_sent.png)\n- **Message History**: ![Message History](./screenshots/SCR_history.png)\n- **Page 404**: ![Page 404](./screenshots/SCR_page_404.png)\n- **Status**: ![Status](./screenshots/SCR_status.png)\n- **Docker**: ![Docker](./screenshots/SCR_docker.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyevheniidatsenko%2Fgoit-pythonweb-hw-03","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyevheniidatsenko%2Fgoit-pythonweb-hw-03","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyevheniidatsenko%2Fgoit-pythonweb-hw-03/lists"}