{"id":21151651,"url":"https://github.com/alina1412/search_app","last_synced_at":"2026-04-09T01:31:46.654Z","repository":{"id":63519393,"uuid":"567578088","full_name":"alina1412/search_app","owner":"alina1412","description":"Educational FastApi project with elasticsearch","archived":false,"fork":false,"pushed_at":"2022-12-12T08:53:18.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T22:29:36.171Z","etag":null,"topics":["alembic","asyncio","docker-compose","elasticsearch","fastapi","poetry","postgres","pytest","python","sqlalchemy"],"latest_commit_sha":null,"homepage":"","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/alina1412.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}},"created_at":"2022-11-18T04:44:03.000Z","updated_at":"2022-11-21T07:57:56.000Z","dependencies_parsed_at":"2023-01-27T16:46:06.009Z","dependency_job_id":null,"html_url":"https://github.com/alina1412/search_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alina1412/search_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fsearch_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fsearch_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fsearch_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fsearch_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alina1412","download_url":"https://codeload.github.com/alina1412/search_app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fsearch_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["alembic","asyncio","docker-compose","elasticsearch","fastapi","poetry","postgres","pytest","python","sqlalchemy"],"created_at":"2024-11-20T10:18:06.422Z","updated_at":"2026-04-09T01:31:46.602Z","avatar_url":"https://github.com/alina1412.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# search_app\nEducational FastApi project with elasticsearch\n\n# how to use: will be written soon...\n\n\n## How to run locally\n- put variables into .env (as well as elastic credentials)\n- create virtual environment:\n\u003e... if using poetry\n\u003e - poety install\n\u003e - poetry shell\n\n\u003e... if using venv\n\u003e - python -m venv .venv\n\u003e - activate virtual environment\n\u003e - pip install -r requirenments.txt\n\n- `make build`: builds docker containers, runs it and runs migrations\n\n\u003e first separated scripts: \n1. fill_db_from_csv.py\n2. first_fill_index.py\n\n(for the *task* it fills db with \ninitial data of a given structure from csv doc, and then creates and fills index from initial db data)\nif to run a FastApi app locally: - `make run` (but it can be ran in docker)\n\n\n## Tools\n- elasticsearch\n- postgres\n- alembic\n- sqlalchemy\n- asyncio\n- docker-compose\n- makefile\n- poetry\n- pytest\n\n# The Task branch\n- the app has two handlers: \n- for searching the match of a query with messages in elastic\n- for deleting document from db and elastic by id\n\n![Clipboard01](https://user-images.githubusercontent.com/8655093/202918040-709cc06c-d10f-427c-84d2-2d180ae005f8.jpg)\n\n# The develop draft branch\n- has a separated handlers for creating index in elastic, deleting it, showing all data (for debugging purposes)\n\n\n![Clipboard02](https://user-images.githubusercontent.com/8655093/202918161-97245239-44cc-4976-ae86-a3c70c0bf7af.jpg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falina1412%2Fsearch_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falina1412%2Fsearch_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falina1412%2Fsearch_app/lists"}