Git Product home page Git Product logo

urmango / fake-filter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.16 MB

A social advocacy hub that curates and highlights social media content concerning the Israeli situation, allowing users to discover and share posts that require support, while also identifying and reporting posts in need of removal.

Home Page: https://fake-filter.vercel.app

CSS 3.98% TypeScript 90.07% JavaScript 5.95%

fake-filter's Introduction

Fake Filter (Archived)

Fake Filter is a web application, featuring a feed of posts related to the israeli situation from social media platforms that require support and promotion, as well as posts that require reporting and removal.

Installation

To install the project, first clone the repository.

Then, navigate to the project directory and install the dependencies:

cd fake-filter
npm install

Usage

To start the development server, run:

npm run dev

This will start the server and open the application in your default web browser.

API Documentation

GET /api/posts/get-posts

Returns a list of posts.

Query Parameters

Name Type Description
limit number The maximum number of posts to return (default 20)
skip number The number of posts to skip (default 0)
type number The type of posts to return (default 0) 0 - all, 1 - repost, 2 - report

Response

{
  "posts": [
    {
      "id": 1,
      "link": "https://example.com/video1",
      "action": "repost",
      "platform": "instagram"
    },
    {
      "id": 2,
      "link": "https://example.com/video2",
      "action": "report",
      "platform": "tiktok"
    }
  ],
  "count": 10 // The total number of posts (without considering limit, but with considering type)
}

License

This project is licensed under the MIT License.

fake-filter's People

Contributors

urmango avatar noammeshoomar avatar orishmueli avatar 1shaked avatar

Watchers

 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.