git clone https://github.com/itsanand/user-service.git
git clone https://github.com/itsanand/user-interaction-service.git
git clone https://github.com/itsanand/content-service.git
docker-compose build
docker-compose up
or
docker-compose up --build
http://localhost:7000/user-interaction-service/docs
http://localhost:8000/user-service/docs
http://localhost:9000/content-service/docs
class Interaction:
"""User Interaction model"""
__tablename__ = "Interaction"
userID: Column = Column(String)
contentTitle: Column = Column(String)
operationType: Column = Column(Enum(OperationType))
__table_args__ = (PrimaryKeyConstraint("userID", "contentTitle", "operationType"),)