{"id":16649558,"url":"https://github.com/pro1code1hack/tech_zink","last_synced_at":"2025-07-16T20:35:02.958Z","repository":{"id":150286539,"uuid":"513305345","full_name":"pro1code1hack/tech_zink","owner":"pro1code1hack","description":"The technical task ","archived":false,"fork":false,"pushed_at":"2022-07-13T03:31:20.000Z","size":11965,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T13:25:04.535Z","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/pro1code1hack.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":"2022-07-12T22:08:10.000Z","updated_at":"2022-09-27T23:22:18.000Z","dependencies_parsed_at":"2023-04-08T15:10:14.664Z","dependency_job_id":null,"html_url":"https://github.com/pro1code1hack/tech_zink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pro1code1hack/tech_zink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pro1code1hack%2Ftech_zink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pro1code1hack%2Ftech_zink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pro1code1hack%2Ftech_zink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pro1code1hack%2Ftech_zink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pro1code1hack","download_url":"https://codeload.github.com/pro1code1hack/tech_zink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pro1code1hack%2Ftech_zink/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265538552,"owners_count":23784613,"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":"2024-10-12T09:11:07.229Z","updated_at":"2025-07-16T20:35:02.937Z","avatar_url":"https://github.com/pro1code1hack.png","language":"Python","readme":"``The project represents the Flask REST API ``\n    \nThe structure of the project --\u003e \n\nDIRS:\n- migrations --\u003e ( i will need to use the alembic in order not to update db manually)\n- mocking --\u003e (script for filling the db with fake data)\n- models --\u003e (Sqlalchemy repr)\n- rest --\u003e ( Building the logic for CRUD)\n- services --\u003e ( The file which is used to query the db)\n- static --\u003e ( for swagger)\n- tests\n\nFiles:\n- travis.yaml\n- app.py --\u003e the initial app which is configured \n- database --\u003e configuration\n\n+ ReadMe, reqs.txt, docker, db\n\nalso i need to created the dashboard for tasks in trello/notion/jira\n\n    To run the project u need \n    1) pip install -r requirements.txt\n    2) python app.py\n\n    Essential links:\n    1) http://127.0.0.1:5000/swagger/\n    2) http://127.0.0.1:5000/events/\n    3) http://127.0.0.1:5000/tickets/\n    4) http://127.0.0.1:5000/tickets/\u003cid\u003e\n\n    ----------------------------------------------------------------------------------------------\n    **You can easily run the app from docker using these commands**:\n  \n    git clone: ...\n    sudo docker build . -t tech_task_2_UK -f ./Dockerfile\n    sudo docker run -p 8000:8000 tech_task\n    sudo docker image ls\n    sudo docker ps\n    \n    For the preliminaril usage of the project open a new terminal session and use these commands:\n    sudo netstat -ltnp\n    curl -X GET \"http://127.0.0.1:5000/events/\" -H  \"accept: */*\"\n\n    ----------------------------------------------------------------------------------------------\n    Used stack:\n    1) Flask\n    2) SQLAlchemy\n    3) Flask-SQLAlchemy\n    4) Flask-RESTful\n    5) Flask-RESTful-swagger\n    6) Flask-RESTful-swagger-ui\n    7) SQLite3 \n    8) Alembic\n    9) Docker\n    10) Pytest / pytest-cov\n    11) Travis CI\n    12) Gunicorn\n    13) Logging\n    14) GIT\n    ----------------------------------------------------------------------------------------------\n    Note:\n\n    1) I spent almost 2.5 hours solving the problem with the import files from .rest directory.\n    so that i decided to write the api classes in the main app, if I had more time, would correct it.\n    2) The http://127.0.0.1:5000/tickets/\u003cid\u003e endpoint is not working in swagger UI, but you can use it in the browser.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpro1code1hack%2Ftech_zink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpro1code1hack%2Ftech_zink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpro1code1hack%2Ftech_zink/lists"}