Ananto30 / golpo-express

Backend of the Social Network - Golpo
https://golpo.vercel.app
4 stars 15 forks source link

Fix post to take only urls #2

Closed Ananto30 closed 2 years ago

Ananto30 commented 2 years ago

Context

As we will only allow users to share links from now on, we will only take URL in /api/post POST request.

Task

alammoiz commented 2 years ago

Can you please elaborate more? Are you talking about createPost API? @Ananto30

Ananto30 commented 2 years ago

Yes, createPost. Let me elaborate more -

For now, you don't need to focus on saving, cause after this task https://github.com/Ananto30/golpo-express/issues/3 we will get the metadata from the URL and save it accordingly.

Is it more clear? @alammoiz 😃

And thanks a lot for your contributions 😃🙌

alammoiz commented 2 years ago

Yes make sense, Please assign it to me :) @Ananto30

alammoiz commented 2 years ago

Created PR, please review it @Ananto30 https://github.com/Ananto30/golpo-express/pull/11