GET /api/get-followings
response -
[
{ "follow_to": 24, "follow_to_username": "takkar" },
{ "follow_to": 11, "follow_to_username": "nobita" },
{ "follow_to": 32, "follow_to_username": "iamrakib" },
{ "follow_to": 30, "follow_to_username": "doraemon" },
{ "follow_to": 28, "follow_to_username": "selena" },
{ "follow_to": 16, "follow_to_username": "zayn" }
]NOTE: for now just return this data(hardcode)
POST /api/post-it
payload:
{
desc: "hello asiq😵😵😵",
image: "(binary)",
filter: "filter-aden",
location: "Unnamed Road, Bangladesh",
tags: [
{
user: 11,
username: "iamruhul"
}
]
}return -
{
"success": true,
"mssg": "Posted!!",
"post_id": 106,
"firstname": "ruhul",
"lastName": "amin"
}POST /api/edit-post
payload -
{
description: "jhjhk",
post_id: 106
}response -
{"success":true,"mssg":"Post updated!!"}POST /api/untag
payload
{
post: 107,
user: 11
}response
{"success":true}