DEV Community

Discussion on: How to add blogs to react website?

Collapse
 
tris909 profile image
Tran Minh Tri • Edited

If you used the word "directly". Then there are things you need :

  • Server / Databases use to call API related to blogs section and store your blogs as well as images. This server needs to store a list of images for each blog so I suggest you thinking before hand the architecture of your blogs in your databases.

  • Adding ckeditor.com/ (text editor) to allow her to create different kind of text (bold/size/...) in a single blog

  • Giving her ability to add images to a blog by storing each image she add into the blogs (data-type) and save the image into a folder stored in your server

  • Render blogs / Edit Blogs using the same text-editor above and delete blogs.

  • When you delete blogs, remember to delete all the images related to it in the images folder if you have one.

Thread Thread
 
atharvredij profile image
Atharv Redij

Yeah. I know there will be a lot of work to directly integrate blogging into the website, that is why I was asking if there is a easy way to do this. But thanks anyway