# Functions
CreatePostRepository instantiates the postRepository.
CreateRepository established a DB connection and returns the repository.
CreateUserRepository instantiates the userRepository using the logger and the global repository.
# Interfaces
PostRepository interface defining post-related database operations.
Repository defines the database access layer.
UserRepository interface defining user-related database operations.