himeshparashar / Social-Morph

https://socialmorph-himeshparashars-projects.vercel.app
12 stars 36 forks source link

Creation of blog page #37

Open Sourabh782 opened 1 month ago

Sourabh782 commented 1 month ago

Currently theres no blog page, i wanted to work on that

himeshparashar commented 1 month ago

@Sourabh782 if you could make a fully functional blog system with crud and admin access i will make it a level 3 contribution or else still fine

Sourabh782 commented 1 month ago

@himeshparashar sure i can work on it, can you elaborate a bit?

himeshparashar commented 1 month ago

@Sourabh782 Like what you need help with ?

You can create a fully functional blog page with backend intgrated using postgres and also access based auth like one overall super admin and one blog owner other readers like that

Sourabh782 commented 1 month ago

@himeshparashar so like

  1. owner can see his blog
  2. admin sees all post
Sourabh782 commented 1 month ago

@Sourabh782 Like what you need help with ?

You can create a fully functional blog page with backend intgrated using postgres and also access based auth like one overall super admin and one blog owner other readers like that

yes i can create just tell roles user, admin..

himeshparashar commented 1 month ago

@himeshparashar so like

  1. owner can see his blog
  2. admin sees all post

Owner can edit his blogs , delete , update (his blog only ) all users can see blogs super admin can delete any blog or edit or update

Sourabh782 commented 1 month ago

O

@himeshparashar so like

  1. owner can see his blog
  2. admin sees all post

Owner can edit his blogs , delete , update (his blog only ) all users can see blogs super admin can delete any blog or edit or update

Ohhkk understood, ya I can do it

Sourabh782 commented 1 month ago

hey @himeshparashar i have started working on it, but may i submit pr till sunday?

himeshparashar commented 1 month ago

@Sourabh782 yes you can submit it on Sunday

inkerton commented 1 month ago

@himeshparashar Can You assign it to me?

Sourabh782 commented 1 month ago

I have already developed backend part, only frontend left

Sourabh782 commented 1 month ago

hii @himeshparashar really sorry for late update, was busy in college stuff, but i have created backend api and frontend of blog page ui, can you suggest some improvements?

blog card need some changes but its prototype final code ill share today only

blog page: image

image

image

i have added functionalities like

  1. everyone can view blogs
  2. owner can delete his blog
  3. admin can delete any blog
  4. owner can update his blog
himeshparashar commented 1 month ago

@Sourabh782 some reviews for ui

remove the background for the delete button and make it dark gray color if possible

and you can also add image in the card for now just use https://picsum.photos/ from here you can get random images form its endpoint, else good to go for now

Sourabh782 commented 1 month ago

@Sourabh782 some reviews for ui

remove the background for the delete button and make it dark gray color if possible

and you can also add image in the card for now just use https://picsum.photos/ from here you can get random images form its endpoint, else good to go for now

sure i'll implement

Sourabh782 commented 1 month ago

hii @himeshparashar can you check this? image

himeshparashar commented 1 month ago

hii @himeshparashar can you check this? image

looks fine for now you can proceed