Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read post #136

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Read post #136

wants to merge 7 commits into from

Conversation

MassiGy
Copy link
Member

@MassiGy MassiGy commented Jul 30, 2022

Hey there everyone !

With this PR we can now read the posts within different routes.

We can read :

  • All posts.
  • Post by Id.
  • All user's posts.
  • One user's post by id.

Please refer to the code for more info.

Note:

This is built on top of the create PR. So to avoid merge conflicts please consider merging them by order or just merge the last one.

Also, you can notice on the code that I did not use our middelewares like verifyLogin or verifyEmail, I did so for simplicity sake and faster development. I will fire up a PR to add them after the Post system implementation.

Hope that is clear.
Massiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant