Skip to content

noobdev08/VerifyVillify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

VerifyVilify

A social verification platform where users submit claims/statements and others verify or “vilify” them.
This project is built with Node.js, Express, Supabase/Postgres, and React.


🚀 Features

1. Authentication

  • Signup / Login using JWT
  • Secure password hashing
  • Protected routes

2. Claims System

  • Users can create claims
  • Claims are tied to the author
  • Each claim stores timestamp and metadata

3. Verification System

  • Users can verify (agree) or vilify (disagree) claims
  • Score per claim = agrees - disagrees
  • Users cannot vote on their own claims
  • Users can vote only once per claim

4. User Profiles

  • Track user's submitted claims
  • Track user's votes

5. Rate Limiting & Security

  • Limit requests per user/IP to prevent spam
  • Input validation and error handling
  • CORS and Helmet for basic security

🧱 Database Design

Tables

users

  • id (primary key)
  • username (unique)
  • password (hashed)

claims

  • id (primary key)
  • content (text)
  • user_id (foreign key → users)
  • score (integer)
  • created_at (timestamp)

votes

  • id (primary key)
  • user_id (foreign key → users)
  • claim_id (foreign key → claims)
  • type (enum: agree / disagree)
  • created_at (timestamp)

⚙️ Tech Stack

  • Frontend: React, Vite, Tailwind/CSS
  • Backend: Node.js, Express
  • Database: Supabase (Postgres)
  • Auth: JWT
  • ORM: Prisma (optional if using Supabase client)

🏗️ Project Setup

  1. Clone the repository
  2. Setup Supabase project / environment variables
  3. Run backend:
    npm install
    npm run dev

About

VerifyVilify - A full-stack accountability platform built with React, Node.js, and Prisma. Features a robust authentication system and real-time community verification of claims using a PostgreSQL/Supabase backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages