Skip to content

Commit

Permalink
Merge pull request #13 from takeYY/feat/change-project-name
Browse files Browse the repository at this point in the history
【変更】filmographub -> filmography
  • Loading branch information
takeYY committed May 8, 2023
2 parents c98cb34 + b8043a2 commit 2eec880
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 34 deletions.
10 changes: 1 addition & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@
"editor.insertSpaces": true,
"editor.defaultFormatter": "ms-python.python"
},
"cSpell.words": [
"fastapi",
"Inmemory",
"jumanpp",
"tmdb",
"UMCS",
"pytest",
"filmographub"
],
"cSpell.words": ["fastapi", "Inmemory", "jumanpp", "tmdb", "UMCS", "pytest"],
"python.analysis.typeCheckingMode": "basic"
}
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# filmographub
# Filmography

Notion と連携した映画録

filmographub は Filmography と Hub を掛け合わせた造語である

## システム関連図

![システム関連図](/api/docs/system_relation/fig_system_relation.png)
Expand Down
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ WORKDIR /api
ENV POETRY_HOME=/opt/poetry

# poetry インストール
RUN curl -sSL https://install.python-poetry.org | python3 - \
RUN curl -sSL https://install.python-poetry.org | python3 - \
# シンボリックによる path への poetry コマンドの追加
&& cd /usr/local/bin \
&& cd /usr/local/bin \
&& ln -s /opt/poetry/bin/poetry \
# 仮想環境を作成しない設定(コンテナ前提のため,仮想環境を作らない)
&& poetry config virtualenvs.create false
Expand Down
2 changes: 1 addition & 1 deletion api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
api:
container_name: filmographub-api
container_name: filmography-api
build: .
ports:
- 8000:8000
Expand Down
2 changes: 1 addition & 1 deletion api/docs/development_memo.puml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@startuml fig_development_memo
title Filmographubの開発メモ
title Filmographyの開発メモ

note as Idea
●必要そうな映画情報
Expand Down
2 changes: 1 addition & 1 deletion api/docs/domain_model/domain_model.puml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@startuml fig_domain_model
title Filmographubのドメインモデル図
title Filmographyのドメインモデル図
left to right direction


Expand Down
Binary file modified api/docs/domain_model/fig_domain_model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/docs/fig_development_memo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/docs/mindmap/fig_mindmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion api/docs/mindmap/mindmap.puml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@startmindmap fig_mindmap

title Filmographubのマインドマップ
title Filmographyのマインドマップ

* Movie
** id
Expand Down
Binary file modified api/docs/object/fig_object.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion api/docs/object/object.puml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@startuml fig_object

title Filmographubのオブジェクト図
title Filmographyのオブジェクト図
left to right direction

rectangle 「ターミネーター2」を未鑑賞でマイリストにある {
Expand Down
Binary file modified api/docs/system_relation/fig_system_relation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions api/docs/system_relation/system_relation.puml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
@startuml fig_system_relation

title Filmographubのシステム関連図
title Filmographyのシステム関連図
skinparam actorStyle awesome


rectangle 開発するシステム {
"FilmographubFront" as (FilmographubFront)
"FilmographubAPI" as (FilmographubApi)
"FilmographyFront" as (FilmographyFront)
"FilmographyAPI" as (FilmographyApi)

}

:利用者: -- (FilmographubFront)
:利用者: -- (FilmographyFront)
:利用者: -- (Notion)

(FilmographubFront) --> (FilmographubApi) :APIを叩く
(FilmographubFront) <-- (FilmographubApi) :結果を返却
(FilmographubApi) --> (TMDb API) :映画情報をリクエスト
(FilmographubApi) <-- (TMDb API) :映画情報を取得
(FilmographubApi) --> (Notion) :映画情報をNotion DBへ登録・更新
(FilmographubApi) <-- (Notion) :DBから映画情報を取得
(FilmographyFront) --> (FilmographyApi) :APIを叩く
(FilmographyFront) <-- (FilmographyApi) :結果を返却
(FilmographyApi) --> (TMDb API) :映画情報をリクエスト
(FilmographyApi) <-- (TMDb API) :映画情報を取得
(FilmographyApi) --> (Notion) :映画情報をNotion DBへ登録・更新
(FilmographyApi) <-- (Notion) :DBから映画情報を取得

note "Filmographubページから映画情報を登録・更新する\nNotionから映画情報を閲覧する" as note01
note "Filmographyページから映画情報を登録・更新する\nNotionから映画情報を閲覧する" as note01

note01 .. :利用者:

Expand Down
Binary file modified api/docs/usecase/fig_usecase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions api/docs/usecase/usecase.puml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@startuml fig_usecase

title Filmographubのユースケース図
title Filmographyのユースケース図
skinparam actorStyle awesome

left to right direction

rectangle Filmographub {
rectangle Filmography {
usecase "鑑賞済み映画を登録する" as UC01
usecase "鑑賞済み映画を更新する" as UC02
usecase "鑑賞したい映画をマイリストに登録する" as UC03
Expand Down
4 changes: 2 additions & 2 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tool.poetry]
name = "filmographub-api"
name = "filmography-api"
version = "0.1.0"
description = ""
authors = ["takeYY <t0k6yist@gmail.com>"]
readme = "README.md"
packages = [{include = "filmographub_api"}]
packages = [{include = "filmography_api"}]

[tool.poetry.dependencies]
python = "^3.10"
Expand Down

0 comments on commit 2eec880

Please sign in to comment.