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
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