{"id":27622134,"url":"https://github.com/supersolik/epam-python-test-task","last_synced_at":"2025-08-08T17:16:06.211Z","repository":{"id":108300567,"uuid":"346674080","full_name":"SuperSolik/epam-python-test-task","owner":"SuperSolik","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-15T10:23:42.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T08:18:41.223Z","etag":null,"topics":[],"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/SuperSolik.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,"zenodo":null}},"created_at":"2021-03-11T11:08:24.000Z","updated_at":"2021-03-15T10:23:44.000Z","dependencies_parsed_at":"2023-05-21T12:00:11.714Z","dependency_job_id":null,"html_url":"https://github.com/SuperSolik/epam-python-test-task","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSolik%2Fepam-python-test-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSolik%2Fepam-python-test-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSolik%2Fepam-python-test-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSolik%2Fepam-python-test-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuperSolik","download_url":"https://codeload.github.com/SuperSolik/epam-python-test-task/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSolik%2Fepam-python-test-task/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":257494433,"owners_count":22553888,"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":"2025-04-23T08:18:40.053Z","updated_at":"2025-06-15T11:39:05.238Z","avatar_url":"https://github.com/SuperSolik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epam-python-test-task\n\n## Requirements\nPython3.9, PostgreSQL, Redis \n\n## Setup\n\n**Env variables**\n\n```dotenv\nREDIS_URL=\"redis://your-redis-url\"\nPOSTGRES_HOST=\"postgres-host\"\nPOSTGRES_USER=\"postgres-user\"\nPOSTGRES_PASSWORD=\"postgres-password\"\nPOSTGRES_DB=\"postgres-db-name\"\nWEATHER_API_KEY=\"API key for https://weatherstack.com/\"\nWEATHER_JWT_SECRET=\"your-jwt-secret\"\n```\n\nplus for Docker configuration\n\n```dotenv\nPORT=\u003cport-inside-docker\u003e \n```\n\nenv file also supported:\n\n- `.env` for manual start\n- `docker.env` for Docker start\n\n**Databases**\n- `test` - for tests  \n- `$POSTGRES_DB` - for main app\n\n## Run tests\n```python3\npip install -r requirements.txt\npython -m pytest\n```\n\n## Run app\n\n\n### Manual\n\n```python3\npip install -r requirements.txt\nuvicorn app:app\n```\n\nApp would be available at http://127.0.0.1:8000 by default, to specify host and port:\n```python\nuvicorn app:app --host \u003chost\u003e --port \u003cport\u003e\n```\n\n### Docker\n\n```python3\ndocker-compose up -d\n```\n\nApp would be available at http://127.0.0.1:3030 by default, but it can be changed using docker-compose.yml\n\n### API\n\nFull API documentation is available at `GET /docs`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupersolik%2Fepam-python-test-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupersolik%2Fepam-python-test-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupersolik%2Fepam-python-test-task/lists"}