MCPcopy Index your code
hub / github.com/acelee0621/fastapi-demo-project

github.com/acelee0621/fastapi-demo-project @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
207 symbols 839 edges 49 files 81 documented · 39%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

��# FastAPI y��v�[b��~�eKb�N��0RN�v_ekKN�e ## y��v�{�N "kΏSO�� FastAPI y��v�[b��~�eKb�N��0RN�v_ekKN�e�,gy��v/fN T T��OlQO�SYe z�|RM�WY�v�Nx�N�^ ��e(W.^�R FastAPI �eKb�N���Y ��ek�g�^NNu�N�~�v_ek Web �^(u0,gYe z�|R�Ǐ 21 �{��~�e�z ��m�v�N�Ny��v�~�g-d�^0R�r�v�[te�SAm z ��T ^g�meQf[N FastAPI �T�s�N Python _ek_�S�vRf[�Nۏ6�_�S�0 ,g�N�^S+TN*N�[te�v FastAPI y��v ��Nx�[�s�NYe z-N�N�~�v@b g�R�� �S�by��v�~�g0penc�^�d\O0�OV��leQ0(u7bt�Cg0X[0Ru�I{�R��0}�6q�Nx*g c�e�z%N<hR{| �FO@b g�R��!jWWGW(Wy��v-N�[te�[�s ��S\O:Nf[N�T�S��v�~T:y�O0 ## Ye z�vU ,gy��v�Nx�[�^�N N�_�OlQO�SYe z�|R� c�S^z��^ �� 1. u�N�~y��v�~�g - -d�^ĉ��v FastAPI y��v�vU_�~�g 2. UV S�{thVYe z - O(u UV �{t Python �OV� 3. Docker �rpenc�^Yef[ - M�n Docker �s�Xv^�rpenc�^ 4. FastAPI �eKby��v�[b - �� NKb FastAPI y��v�S 5. M�n�e�N�^�zYe z - R�^�T�{ty��vM�n�e�N 6. penc�^ޏ�cYef[ - M�n FastAPI Npenc�^�vޏ�c 7. penc�^ ORM !j�WYe z - O(u ORM �g�^penc�^!j�W 8. ꁚ[IN_8^Ye z - �[IN�TYtꁚ[IN_8^ 9. �N�^B\�NxYef[ - �[�spenc��v�N�^B\ 10. g�RB\�NxYef[ - �g�^N�R;����v g�RB\ 11. �OV��leQ�[b��� - �c�c FastAPI �OV��leQ�vO(u 12. �1uB\�g�^Yef[ - �����T�[�s API �1u 13. Alembic M�n�SO(uYe z - O(u Alembic �{tpenc�^���y 14. �bň API ԏ�V�~�g - ĉ�S API �T�^�~�g 15. YW[�k�c�^ - �[�s API �vYW[�k�c�^�R�� 16. fastapi-filter Yef[ - O(u fastapi-filter �[�spencǏ�n 17. fastapi-pagination Ru��^Yef[ - �[�s API Ru��R�� 18. (u7bt�CgYe zR?z - M�n(u7b�����T�cCg:g6R 19. O(u Redis X[* - Ɩb Redis �cGS'�� 20. **�b�S�N�^B\�W{|Yef[** - OS�N�^B\�Nx�~�g 21. **Docker �ry��vYe z** - O(u Docker �r FastAPI y��v ## �_�_�Y ### MRn��Bl - Python 3.8+ - Docker�(u�Npenc�^�Ty��v�r � - UV S�{thV��cP� � - Redis�(u�NX[�R�� � - Git�KQ��,g�N�^ � ### �[ňek�� 1. **KQ���N�^** bash git clone <your-repository-url> cd <repository-name> 2. **�[ň�OV�** O(u UV �[ňy��v�OV�� bash uv sync 3. **M�n�s�X** Y6R .env.example �e�N:N .env �v^9hnc����O9eM�n��Ypenc�^ޏ�c0Redis M�nI{ �� bash cp .env.example .env 4. **/T�Rpenc�^** O(u Docker /T�Rpenc�^��S�Ye z 003 �T 021 �� bash docker-compose up -d 5. **ЏL�y��v** /T�R FastAPI �^(u� bash uvicorn main:app --reload 6. **��� API** Sb_OmȉhV ���� http://localhost:8000/docs �g w API �ech0 ## y��v�~�g y��vǑ(uRB\�g�g �S+T�N N8h�_!jWW� - **config/**: M�n�e�N�{t - **database/**: penc�^ޏ�c�T ORM !j�W - **exceptions/**: ꁚ[IN_8^ - **repositories/**: penc���B\ - **services/**: N�R;���B\ - **routers/**: API �1u - **schemas/**: Pydantic !j�W�API ��Bl/�T�^�~�g � - **main.py**: y��veQ�S wQSO�[�s�~���S�S�Ye z�|R-N�v�v�^�e�z0 ## O(u�f - ,gy��v�Nx:N�[te:y�O ��m�vYe z-N@b g�R�� ��^���~TYe z�e�z���0 - API �1u/ecǏ�n0Ru�0�c�^I{�R�� ����Ye z 014-0170 - (u7bt�Cg�W�N JWT �Redis X[(u�NOS'���Ye z 018-019 �0 - O(u Alembic �{tpenc�^���y�Ye z 013 �0 - y��v/ec Docker �r ��Tu�N�s�X�Ye z 021 �0 ## !�.s "kΏ�c�N issue b pull request��Y�g�g9eۏ�^��b�S�s bug ������e�S��0 ## ���S ,gy��vǑ(u MIT ���S�� ����� [LICENSE](LICENSE) �e�N0 ## T��|�e - ��OlQO�S�x��n}� a"��O(u,gy��v �]y�(W FastAPI �v_ekKN�e-N6e���n�n�

Core symbols most depended-on inside this repo

get
called by 13
app/domains/collections/collections_service.py
_get_scoped_repo
called by 6
app/domains/collections/collections_service.py
delete
called by 4
app/domains/heroes/heroes_repository.py
get_by_username
called by 3
app/domains/users/user_repository.py
get_hero
called by 3
app/domains/heroes/heroes_serv.py
get_project_version
called by 2
app/core/config.py
get_settings
called by 2
app/core/config.py
setup_database_connection
called by 2
app/core/database.py

Shape

Method 67
Function 62
Class 53
Route 25

Languages

Python100%

Modules by API surface

app/domains/collections/collections_service.py17 symbols
app/api/v1/heroes_route.py13 symbols
app/api/v1/new_hero_route.py12 symbols
app/api/v1/collections_route.py12 symbols
app/schemas/heroes.py10 symbols
app/core/exceptions.py10 symbols
app/domains/heroes/heroes_services.py8 symbols
app/domains/heroes/heroes_serv.py8 symbols
app/domains/heroes/heroes_repository.py7 symbols
app/core/repository.py7 symbols
app/core/dependencies.py7 symbols
app/schemas/collections.py6 symbols

For agents

$ claude mcp add fastapi-demo-project \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact