{"id":22938440,"url":"https://github.com/lniche/aphrodite-py","last_synced_at":"2025-10-28T00:32:49.856Z","repository":{"id":259833918,"uuid":"876688290","full_name":"lniche/aphrodite-py","owner":"lniche","description":"FastAPI Scaffold","archived":false,"fork":false,"pushed_at":"2025-02-05T09:50:40.000Z","size":824,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T10:36:34.209Z","etag":null,"topics":["api","fastapi","python","scaffold"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lniche.png","metadata":{"files":{"readme":"README-ja.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":"2024-10-22T11:53:38.000Z","updated_at":"2025-02-05T09:50:44.000Z","dependencies_parsed_at":"2024-10-28T08:34:42.002Z","dependency_job_id":"0a5c3367-2119-460b-bed1-3cc00055f7d6","html_url":"https://github.com/lniche/aphrodite-py","commit_stats":null,"previous_names":["lniche/aphrodite-py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lniche%2Faphrodite-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lniche%2Faphrodite-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lniche%2Faphrodite-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lniche%2Faphrodite-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lniche","download_url":"https://codeload.github.com/lniche/aphrodite-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246701151,"owners_count":20820004,"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":["api","fastapi","python","scaffold"],"created_at":"2024-12-14T12:17:58.116Z","updated_at":"2025-10-28T00:32:44.819Z","avatar_url":"https://github.com/lniche.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aphrodite FastAPI Scaffold\n\n[English](README.md) | [简体中文](README-zh.md) | [日本語](README-ja)\n\nAphrodite は、[Fastapi-skeleton](https://github.com/kaxiluo/fastapi-skeleton)\nをベースに開発されたテンプレートプロジェクトで、開発者がフレームワークの使用フローを迅速に理解し、深く学ぶことを目的としています。このプロジェクトは、一般的な開発シーンを網羅した包括的なサンプルコードと設定を提供し、学習と実践をサポートします。さらに、Aphrodite\nにはコンテナーデプロイメントテンプレートも含まれており、現代のクラウド環境でプロジェクトを簡単にデプロイおよび管理できるようになっており、開発者がアプリケーションを効率的に構築および公開する手助けをします。\n\n## 技術スタック\n\n| 技術                                                     | 説明                                                  |\n|--------------------------------------------------------|-----------------------------------------------------|\n| [APScheduler](https://github.com/agronholm/APScheduer) | Python の定期タスクスケジューラー、バックグラウンドジョブのスケジュールをサポート        |\n| [FastAPI](https://fastapi.tiangolo.com/)               | 高性能な Web フレームワーク、非同期操作をサポートし、API を迅速に構築             |\n| [JOSE](https://github.com/python-jose/jose)            | JSON Web トークン (JWT) を処理するための Python ライブラリ           |\n| [Loguru](https://github.com/Delgan/loguru)             | シンプルな Python ロギングライブラリ、使いやすいログ記録とフォーマットのサポート        |\n| [Peewee](http://docs.peewee-orm.com/en/latest/)        | シンプルな Python ORM フレームワーク、複数のデータベース操作をサポート           |\n| [Starlette](https://www.starlette.io/)                 | Web アプリケーションを構築するための高性能なフレームワーク、FastAPI のコア部分       |\n| [Uvicorn](https://www.uvicorn.org/)                    | 高性能な ASGI サーバー、非同期 Python アプリケーションの実行をサポート          |\n| [psycopg2](https://github.com/psycopg/psycopg2)        | PostgreSQL データベースアダプター、Python と PostgreSQL の接続をサポート |\n| [Passlib](https://passlib.readthedocs.io/en/stable/)   | パスワード暗号化ライブラリ、複数のハッシュアルゴリズムと暗号化方式をサポート              |\n| [Pydantic](https://pydantic-docs.helpmanual.io/)       | データ検証と解析ライブラリ、Python の型注釈に基づく検証と解析を行う               |\n| [Python-JOSE](https://github.com/mpdavis/python-jose)  | JSON Web トークン (JWT) の生成と解析を行うライブラリ、暗号化サポート          |\n| [Redis-py](https://github.com/andymccurdy/redis-py)    | Python クライアントライブラリ、Redis データベースの操作と接続               |\n\n## 特徴\n\n- **ユーザー認証と認可**：基本的なユーザーログインと権限付与機能を提供します。\n- **分散ロック**：Redisをベースにした分散ロックを実装し、分散環境下でのリソースの安全性を確保します。\n- **ミドルウェアサポート**：認証、リクエストログ、CORS処理など、よく使われるミドルウェアを内蔵しています。\n- **統一された出力フォーマット**：簡単に使えるAPI Resultの統一出力方式を提供し、APIのレスポンスフォーマットを標準化して、インターフェースの一貫性を向上させます。\n- **APIモジュール設計**：モジュール化されたAPI設計をサポートし、拡張と保守が容易です。\n- **Swaggerドキュメント統合**：APIドキュメントを自動生成し、フロントエンド開発とテストを容易にします。\n\n## ディレクトリ構造\n\n```\n.\n├── app/                  # アプリケーションのコアコード\n├── bin/                  # 実行可能スクリプト\n├── bootsrap/             # ブートファイル\n├── database/             # データベース関連\n├── deploy/               # デプロイ関連ファイル\n├── docs/                 # プロジェクトドキュメント\n├── routes/               # ルートファイル\n├── storage/              # ファイルストレージ\n├── tests/                # テストファイル\n└── README.md             # プロジェクト説明\n```\n\n## 本地运行\n\n```bash\n# 1. プロジェクトのコードリポジトリをクローン\ngit clone https://github.com/lniche/aphrodite-py.git\ncd aphrodite-py\n\n# 2. 設定ファイルの準備\ncd config\nmv .env.example .env\n\n# 3. 依存関係のインストール\n# Python 環境がインストールされていることを確認してください。conda の使用を推奨します。\npip install -r requirements.txt\n\n# 4. データベースの初期化\ndatabase/migrations/V1.0.0__initial_schema.sql\n\n# 5. サービスの起動\nuvicorn main:app\n```\n\n## リポジトリの活動\n\n![Alt](https://repobeats.axiom.co/api/embed/57c3b523ffb088038484a6b3883890a2615b3fa5.svg \"Repobeats analytics image\")\n\n## ライセンス\n\nこのプロジェクトは MIT ライセンスに従っています。\n\n## 感謝の意\n\nすべてのコントリビューターとサポーターに感謝します。皆さんのご支援が私たちにとって非常に重要です！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flniche%2Faphrodite-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flniche%2Faphrodite-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flniche%2Faphrodite-py/lists"}