Build the following simple APIs
- Created a story with two images and a caption: Used cloudinary to upload the images and stored the data in a mongodb database.
- Get the created stories with pagination.
USAGE:
POST https://localhost:3000/story
FORM DATA:
image: <imagefile1>
image: <imagefile2>
caption: <caption>
GET https://localhost:3000/story?limit=<LIMIT>&page=<PAGE>
POST https://localhost:3000/comment
BODY:
{
"postid" : <postid on which you want to comment>,
"comment" : <comment>
}
GET https://localhost:300/comment?postid=<postid>