Closed charbelfakhry closed 11 months ago
Hello, for the posts.
POST /posts
(body: all the post infos)
GET /:username/:postid
(username query param for post's user and post id same thing but for which post)
DELETE /:username/:postid
(to delete a post)
use the jwt to get the user id of the poster.
Thank you
also GET/:username
to get all the posts by the username
CRUD for Posts Including Services and Controllers. DTO