teamhide

Results 14 comments of teamhide

사람마다, 회사마다 추구하는 아키텍처가 다르기 때문에 어느정도까지 본 프로젝트에서 코드상으로 제공해줘야 하는지 고민하던 부분이긴 합니다. 원래 공통코드를 포함하여 서버를 구동할 때 꼭 필요한 코어까지만 제공하려고 했으나, 간단하게 CRUD까지는 제공하면 괜찮겠다라는...

암호화 기능을 제외하고 로그인/토큰 검증/토큰 재발급 API 추가해서 푸시해놨습니다. /docs로 들어가서 확인하실 수 있을거에요. 나중에 조금 더 다듬을게요.

I added relevant libraries and test code templates. Please refer to https://github.com/teamhide/fastapi-boilerplate/blob/master/tests/app/user/services/test_user.py

Is it correct to talk about how to mock the database for testing?

I got it. I will add it soon :)

You can check it through `pyproject.toml`. However, you can bump up version on your needs.

I fixed this issue like this `/tests/__init__.py` ``` import pytest from core.databases import db @pytest.fixture async def app(): return await db.set_bind('postgresql://localhost/sanic') ``` I wonder that, why `db.init_app()` doesn't work with...

@Timothyyy @zvadym Sorry for the late reply. Added integration test and slice test code for each layer. Please check the latest code.