SpaceyaTech / mastori

Mastori is a community-driven open-source project that aims to provide a simple and efficient blogging platform built for the Dev Community
https://www.spaceyatech.com/
22 stars 54 forks source link

created user login endpoint and associate each user with its own posts #93

Closed sangkips closed 1 year ago

sangkips commented 1 year ago

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

I created a user login endpoint and associate each logged-in user with the posts created. You have to be the owner in order to do update and delete functionality.

Fixes # (issue)

Type of change

Checklist:

hellen-22 commented 1 year ago

While we still here, what methods should a login endpoint accept?

sangkips commented 1 year ago

While we still here, what methods should a login endpoint accept?

Its a POST request