Yocket Assignment for post, comment creation and liking of posts
pip install -r requirements.txt
export PYTHONPATH="/Users/shashankjain/Desktop/yocket/interfaces"
Then mongodb needed to be installed in the system which is needed to be run on port 27017
To run the mongodb server
mongod –port 27017
cd interfaces/ python xaas/app.py
Which will run the server on
With following endpoints or namespaces to distinguish creation of users, creating a post, commenting on a post, likes/unlikes the post
Post
Comments
Users
Likes
These are the namespaces with following the api request to the server.