DeBlog
A decentralised platform to store blogs and retrieve them.
Created on 17th July 2022
•
DeBlog
A decentralised platform to store blogs and retrieve them.
The problem DeBlog solves
In the world where everything is having their decentralised counterparts, why not a blogging platform where writers get an extra security layer over their blogs. They can even get rewarded from the reader in the form of crypto currency.
These platform adds new and great functionalities to the native blogging platform. Every user has a wallet when he reads or writes blogs which makes the platform more secure.The decentralised storage makes the blogs more safe and functional. Overall, the platform has a lot of what today's bloggers would ask for.
Challenges we ran into
The retrival of blogs from block-chain and display them on UI
We are getting the objects from block-chain and we need an array for mapping the data
so we converted the objects into array using Object.value() and retrived all the data and Displayed it on UI
Dynamic routing was more complex to implement
We need a blogpage where all the data related to blogs is shown and this only can be done using Dynamic routing,
We solved this problem using React-router-dom's hook useParams() and through this we retrived the blogIndex and using blogIndex we displayed them on UI