Skip to content

itsanand/user-interaction-service

Repository files navigation

user-interaction-service

Clone the following repo on your local

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

From user-service folder run the below command

docker-compose build
docker-compose up

or

docker-compose up --build

Swagger Docs can be accessed for each service from below urls

http://localhost:7000/user-interaction-service/docs
http://localhost:8000/user-service/docs
http://localhost:9000/content-service/docs

User-Interaction-service Database

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"),)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published