Coder Social home page Coder Social logo

blessingblockchain / solidityinternshipassessmentsoln Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1.75 MB

solutions with web3 to the social products of web2 when they are broken because they work in isolated models and fragments user data.

Solidity 64.72% TypeScript 3.25% JavaScript 30.36% HTML 1.67%

solidityinternshipassessmentsoln's Introduction

Decentralized Blog

Table of Contents

Description

A Decentralized blog which contains three smart contracts;

  • Follow Smart Contract
  • Post Smart Contract
  • UserProfile Smart Contract

Follow

Follow Smart Contract was created to allow user addresses follow other user addresses available on chain. The following functionalities were included:

  • A function that allows users to follow another user by providing the user's public address
  • A function that allows users to unfollow a user they are currently following
  • A function that allows users to view the list of users they are following, as well as the list of users who are following them.

Post Smart Contract

Post Smart Contract was created to allow users to post on chain having the following functionalities:

  • A function that allows users to create a post by providing the content, title, and any other relevant info.
  • A function that allows to edit or delete their posts.
  • A function that allows users to view other user's posts.Smart Contrac

UserProfile Smart Contract

User Profile Smart Contract was created on chain having the following functionalities:

  • A function that allows users to register by providing their personal information such as name, email, pro file picture. etc
  • A function that allows users to update their personal info.
  • A function that allows other users to view a user's public profile info.

Screenshots

Screenshot-1 Screenshot-2 Screenshot-3 Screenshot-4

solidityinternshipassessmentsoln's People

Contributors

blessingblockchain avatar e-zbox avatar

Stargazers

Hassan Basit avatar  avatar

Watchers

 avatar

Forkers

e-zbox

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.