Skip to content

ychenz/web3-blog-creator

Repository files navigation

Web3 Blog creator

Make it easy for everyday people to create & host their blogs on Web3 a simple clicks, no technical knowledge required.

This is an award-winning project developed for the Encode club Open Data Hack Hackathon.

Link to the award blog post

Features for creators/influencers

  1. Create blog site easily with just a few clicks.
  2. Create your exclusive membership subscriptions with a few clicks, payments will be handled by smart contract transparently.
  3. 0 downtime guaranteed by the Blockchain.
  4. Your data will be forever safe because it is hosted on a decentralized blockchain.
  5. Censor free. No one can ever take down your blog.

Project Presentation

https://docs.google.com/presentation/d/1r1rB2AG8jCJ3d0qMdu8YVyJKUsXD87uWaa7hzpEY-UQ/edit?usp=sharing

Demo

https://www.loom.com/share/f818256f55aa455a870be69260978d15?sid=07a974cc-742b-407a-878a-2bafbcd27ac7

Project Design

image

Local Development

Pre-requisites

This project work closely with the other 3 components shown in the above architecture, please visit their repo and set them up in the following order

Before attempt to run this project, please follow the checklist below to make sure you have everything setup correctly:

  • The Smart contract deployed on local hardhat node (By running npm run up and in another terminal, run npm run deploy:up)
  • The smart contract address is copied & pasted to the constants.js file's blogTablesContractAddress variable in the API, and the constants.ts file's blogTablesContractAddress variable of the blog template.
  • Run yarn release for the blog template (after the contract address is updated), copy the build folder to the API repo's root, rename it to blog_template
  • The API's .env has been updated with your own keys
  • The API is started by running yarn start

Start the dev site

yarn
yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published