Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 843 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 843 Bytes

content-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

Content-service Database

class Content:
    """Content model"""

    __tablename__ = "Content"
    title: Column = Column(String, primary_key=True)
    story: Column = Column(String)
    publishedDate: Column = Column(DateTime)