Skip to content

Blockchain Decentralized Knowledge Sharing platform

Notifications You must be signed in to change notification settings

rosemwangie/knowhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Knowledge Sharing Platform

Overview ...in progress

  • Introduction
  • Features
  • Technologies used
  • Architecture
  • Setup and Installation
  • Running the Application
  • API Endpoints
  • Security
  • Testing

Presentation

knowhub.mp4

Introduction

The Decentralized Knowledge Sharing Platform is a facility for secure, transparent, self-sovereign creation, sharing, and access of information by users. In other words, it looks toward blockchain technology to verify content and decentralized storage systems such as IPFS for the integrity of data and to incentivize high-quality contributions

Features

  • User Management
  • Content creation and sharing
  • Blockchain Integration
  • Incentive System
  • Search and Discovery
  • Analytics Dashboard

Tech Tools

  • Backend
    • Java, Spring Boot
  • Database:
    • PostgreSQL
  • Frontend:
    • Next.js
    • Tailwind CSS
  • Blockchain:
    • Solidity for smart contracts
  • Decentralized Storage
    • IPFS(InterPlanetary File System)
  • Machine Learning
    • TensorFlow
  • Cloud Services

  • CI/CD
    • GitHub actions
  • Containerization
    • Docker

Architecture

Setup

Clone the Repo

Setup Environment Variables

Build and Run the App

Backend

1.Build the project

---

2.Run

mvn spring-boot::run
npm run dev
npx hardhat node
ipfs daemon
npx hardhat run script/deploy.js --network localhost

Frontend

0.Navigate to the client dir

cd client

1.Install dependencies

cd client

2.Run the app

cd client

API Endpoint

User Management

  • Register User: Post /api/auth/register
    • Req body:
      {
      "username": "testuser",
      "email": "[email protected]",
      "password":"password123"
      }

Security

Testing

Unit Tests

Integration Tests

API Testing with Postman

About

Blockchain Decentralized Knowledge Sharing platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published