bounswe / bounswe2022group4

6 stars 3 forks source link

Frontend: Create Post Image Uploading and Post Image Rendering #403

Closed umutdenizsenerr closed 1 year ago

umutdenizsenerr commented 1 year ago

In the Create Post structure there is a field that user can upload image related to the post. In order to make this feature light weight we have decided to post images as base64 text to the database and getting them as base64 image and render them.

Steps:

1) Make research on react base64 to image converter libraries 2) Convert image files to base 64 text 3) Make post request with image data when creating the post 4) Get request with image data 5) Render base64 text as image in Post

Reviewer: @BeratDamar Deadline: 5.12.2022 23.59

umutdenizsenerr commented 1 year ago

Since PR is merged, i am closing the issue.