Giter Site home page Giter Site logo

atechchatterjee / hottakesapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 4.05 MB

The HotTakes App is platform for people to host discussions and participate in discussions on the latest trending topics in tech world.

JavaScript 3.42% TypeScript 95.20% CSS 1.37%

hottakesapp's Introduction

Run Hot Takes App

Run dev server

npm install
npm run dev

Run web-socket-server

cd web-socket-server
npm install
npm run dev

Tech Stack we will be using

The technologies that I have chosen to work with are listed below:

  • React: Frontend framework / Library
  • Nextjs: Used for both frontend and backend.
  • Tailwind: CSS framework (along with shadcn ui for components)
  • shadcn/ui: A "component library" (sort of) built on top of tailwindcss and radix UI
  • tRPC: Efficient and typesafe way to connect your frontend and backend

TL;DR of the Logic Behind Hot Takes App

excalidraw link: https://excalidraw.com/#json=wXSCh76l0u8hjo9W_JWyG,89N3jKdoR3GcdFDlt9f1IA

TL;DR Logic Behind Hot Takes App

Idea Behind the HotTakesApp

In the current world of ever changing tech, we have quite a lot of interesting topics that we as developers are constantly discussing about. This app for developers to get their opinions and hot-takes about specific topic out and open in the world. It would allow the community to have discussion / debate on various topics and hopefully have fun and learn something more about the tech.

How it works (Some Ground Rules)

The user would have two options to sign in as - an "author" or "normie".

Power of Authors:

  • Authors would have their on communities that other normies can follow and be a part of.
  • The authors are reponsible for creating "topics" and start a discussion on the specific topic.
  • The discussion will have a life span specified by the author.
  • The author will give their own take on the topic and can add on or update their take in due course of time.
  • Number of topics they are able to create per week will depend on the amount of credibility they have.

Power of Normies:

  • Normies would not be able to create "topics" like the authors but would be able to take part in them.
  • Normies would gain crediblity points by taking part in discussions.
  • Once their credibility point exceeds a limit, they would be given the privilege of becoming an author.
  • The can challenge the hot-take given by the author or other fellow normies. Winning a challenge would give them a significant boost in their credibility.

Types of Discussions:

  • Normal Discussion:

    • Every normie would be able to make one take on the topic of discussion.

    • The take is editable.

    • Every "take" is challengable.

    • Whenever a "take" is challenged a new thread is created based on the challenge.

    • Every challenge will have a winner and a loser.

    • The winner will be decided by community votes.

    • The winner will gain a significant boost in their credibility point.

    • The loser will have to pay the cost by loosing some credibility points.

      NOTE: The amount of point lost will be 0.05% of the total credibility point that the normie has. Even the authors can lose credibility points but only upto a certain limit.

  • Debate (For or Against a particular topic):

    • This form of discussion will consists of two kinds of take (like a traditional debate): For or Against.
    • A normie has to choose either one side and give their own takes.
    • No one to one challenges are allowed here.
    • Every debate may have some number of spectators i.e. normies that are not taking part in the debate.
    • A winner will be decided from votes from spectators.

Selection of authors:

Initially the authors will be selected based on their social credibility (like being a well known personality in the tech world, prominant youtuber, a creator of well known open source projects, having very good contribution history in the open source world, etc.).

Authors can also be selected based on recommendation of other authors.

NOTE: More than one authors are required to select another author.

Power of the Community (includes both authors and normies):

All though the authors might seem more powerful, but in reality the community is the all powerful entity in this app. Winners and Losers of different challenges and debates are all decided by the community collectively.

Also the community all together holds enough power to ban an author, if the community deems that is necessary.

Moral of the story: The community is all-powerful.

NOTE: This app is Still in development and more rules will be added soon.

hottakesapp's People

Contributors

atechchatterjee avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.