Repository and Service pattern, SQL Model and async engine on a V2 version #1199
              
                Unanswered
              
          
                  
                    
                      brunolnetto
                    
                  
                
                  asked this question in
                Questions
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
First of all, thanks for providing such a good content for us all. Second, I have been struggling to setup a good backend API, as you know, many moving parts and workflows to test. While trying to do so, I stumbled on patterns
RepositoryandService, which are good practices described, among others, on [1]. IT would be very helpful to have such, and extend the current backend counterpart.[1] https://medium.com/@kacperwlodarczyk/fast-api-repository-pattern-and-service-layer-dad43354f07a
Example provided on blog https://medium.com/@kacperwlodarczyk/fast-api-repository-pattern-and-service-layer-dad43354f07a
Operating System
Linux
Operating System Details
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Python Version
Python 3.8.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions