Skip to content

lukso-network/example-forum-dapp

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Example Forum dApp

This repository is an example forum dApp built to showcase how Universal Profiles could function within fully decentralized applications. Users can log in with their extension to create LSP7 blog posts uploaded directly to IPFS and linked to a custom smart contract that inherits a Digital Asset Token.

Each blog post comes with a creation date and likes and can be the origin of multiple comments. All blog posts and comments can also be deleted by their owners. All the author information is fetched from Universal Profiles and the custom smart contract directly.

Admin Functionality: With the admin functionality, the owner of the forum contract has the right to delete posts and comments to maintain a healthy forum.

Learnings

  • How to extend LSPs with functionality
  • Integration of UPs into social media use cases
  • Sample dApp with the Next.JS (React) tech stack
  • Equal EOA workflow in terms of smart contract interaction

Live Demo

Deployed to the LUKSO example dApp section at examples.lukso.tech.

Showcase

Showcase Post Creation Showcase Browse Page

Deployment and Hosting

All example dApps on LUKSO are deployed using a custom CI/CD script to host several repositories to one domain with several subfolders. Please deploy merged changes with the GitHub Workflow in the example-hosting repository.

Local Development

Install

npm install

Run

npm run dev

Open http://localhost:3000 with your browser to see the result.

Production Build

This app is deployed as a static NextJS website.

npm run export

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •