renlabs-dev / commune-ts

This is a monorepo for the AGIc typescript ecosystem. It uses Turborepo and contains the code for our web apps.
https://www.communeai.org/
5 stars 1 forks source link

commune-forum app architecture validation #174

Open vinicius-sacramento opened 1 month ago

vinicius-sacramento commented 1 month ago

Project Overview

Inspiration

This project draws inspiration from the Hacker News website, offering features like the ability to "submit external posts or content." Users can share articles, posts, or updates they've published on social media or personal blogs with the community.

However, we're aiming to take it a step further. In addition to the classic Hacker News-style interface, we plan to introduce new and more user-friendly features. Users will be able to create original posts directly on our platform, similar to creating a proposal.

Think of it as a fusion of the Hacker News format with enhanced governance features, offering a more dynamic and interactive experience.

Hacker News Screenshot 1 Hacker News Screenshot 2 Hacker News Screenshot 3


User Stories

  1. Authentication (Implemented via AuthRoutes in ./packages/api)

    • Users can authenticate using their Polkadot wallets.
    • Sessions expire after 6 hours for security.
  2. Posts (Similar to proposals)

    • Users can create, edit, and delete their own posts.
    • Users can assign multiple categories to their posts.
    • Admin users can pin posts to highlight them.
  3. Categories

    • Admin members can manage categories (create, edit, delete).
    • Users can view and filter posts by categories.
  4. Voting (Similar to proposal comments)

    • Users can upvote or downvote posts.
    • Users can change their votes.
    • The system prevents multiple votes from the same user on a single post.
  5. Comments (Similar to proposal comments)

    • Users can add, edit, and delete their own comments.
  6. Viewing and Tracking

    • Users can view all posts and comments.
    • The system tracks and displays the number of views per post.

Entities

1. User


2. Session (Handled by AuthRoutes)


3. Category


4. Post


5. Comment


To Be Defined


Roadmap

As users become more engaged with the platform, we plan to introduce additional features:

And many more exciting features to enhance user experience.

vinicius-sacramento commented 1 month ago

@steinerkelvin @EdSDR @PsicoThePato

vinicius-sacramento commented 1 month ago

As discussed earlier today on Discord, here are the changes.

Update

vinicius-sacramento commented 1 month ago

Update

Image

vinicius-sacramento commented 1 month ago

Quick Update:

We need to also provide a checkbox to allow the user to post it anonymously.