{"id":21887190,"url":"https://github.com/profcomff/fastapi-template","last_synced_at":"2025-04-15T09:50:19.816Z","repository":{"id":140996494,"uuid":"556386955","full_name":"profcomff/fastapi-template","owner":"profcomff","description":"Шаблон для разработки backend-сервиса на fastapi","archived":false,"fork":false,"pushed_at":"2024-08-10T16:30:01.000Z","size":77,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-28T18:55:14.989Z","etag":null,"topics":["cookiecutter","fastapi","pydantic","python3","sqlalchemy","sqlalchemy-orm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/profcomff.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":"2022-10-23T18:34:36.000Z","updated_at":"2024-12-07T20:52:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b4eaa7d-1ce5-4d55-9e35-fd1c882e9d43","html_url":"https://github.com/profcomff/fastapi-template","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/profcomff%2Ffastapi-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Ffastapi-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Ffastapi-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Ffastapi-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profcomff","download_url":"https://codeload.github.com/profcomff/fastapi-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249048711,"owners_count":21204305,"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":["cookiecutter","fastapi","pydantic","python3","sqlalchemy","sqlalchemy-orm"],"created_at":"2024-11-28T11:08:44.209Z","updated_at":"2025-04-15T09:50:19.796Z","avatar_url":"https://github.com/profcomff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Шаблон для fastapi проекта\n\n## Использование\n1. Установите cookiecutter \n```console\nfoo@bar:~$ pip install cookiecutter\n```\n\n2. Перейдите в ту директорию, где у вас будет хранится код для проекта. Это делается следующими комадами. (Это _не_ последовательность команд, а _список_ нужных Гуглите их, если у вас будет что-то не получаться.)\n```console\nfoo@bar:~$ cd\nfoo@bar:~$ pwd\nfoo@bar:~$ ls\n```\n\n\n3. Выполните раскатку шаблона в текущую директорию командой\n    ```console\n    foo@bar:~$ cookiecutter https://github.com/profcomff/fastapi-template.git\n    ```\n    После команды вас спросят, хотите ли вы загрузить шаблон, согласитесь.\n    \n    Вам зададут несколько вопросов:\n    1. `repo_name` - имя будущего репозитория\n    2. `module_name` - имя модуля, который будет запускаться командой: python3 -m module_name. На одном уровне с ним будут лежать Dockerfile, .gitignore, .env, Makefile, docker-compose, pyproject.toml, flake8.conf, README.md, requirements.txt, alembic.ini, gunicorn.conf, миграции. А внутри будет лежать исполняемый код.\n    3. `description` - Краткое описание проекта для README.md\n\n4. У вас создастся структура проекта, корнем которой будет папка repo_name. Вы должны создать новый пустой репозиторий на GitHub и импортировать туда все из этой папки.\n\n## Стек технологий в шаблоне\n\n1) fastapi\n2) sqlalchemy\n3) pydantic\n4) alembic\n\nВы можете добавлять новые технологии в файле requirements.txt.\n\n## Предложения по шаблону\n\nПисать мне @Alevardo (tg) или в нашем чатике\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Ffastapi-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofcomff%2Ffastapi-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Ffastapi-template/lists"}