fairfield-programming / backend-server

📠 The backend of the Fairfield Programming Association website.
https://fairfieldprogramming.org/
MIT License
26 stars 13 forks source link

Read post #136

Open MassiGy opened 2 years ago

MassiGy commented 2 years ago

Hey there everyone !

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

We can read :

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.