Code Monkey home page Code Monkey logo

shadowban-eu-frontend's Introduction

Twitter Shadowban Tests

One-page web app, testing Twitter users for various shadowbans.

Maintainability

NOTE

You are in shadowban-eu/TwitterShadowBanV2! No worries. :)

We are currently performing a major overhaul of the site. This includes finally having a proper backend.
To keep things nice and clean, we therefore split the now distinct back- and frontend code.

Frontend (former TwitterShadowBanV2; history preserved):
shadowban-eu/shadowban-eu-frontend

Backend:
shadowban-eu/shadowban-eu-backend


Setup

# Clone
git clone https://github.com/shadowban-eu/shadowban-eu-frontend.git && cd shadowban-eu-frontend

# Install
npm i

#Start development
npm start
# or npm run dev

# Build (to ./dist/)
npm run build

Some values, like the HTML base href, are hard-coded in webpack.config.js.

Notes

Base href

The <base href> is set on build, depending on the NODE_ENV:

The development value is taken from the devServerConfig object in webpack.config.js, including basePath.
Be aware that setting <base href> to http://127.0.0.1:9000/, but then visiting the site via http://localhost:9000/ will work at first, but the browser will deny setting the URL to http://localhost:9000/testedName, when running a test.

.api mocks

During development, /src/.api/ is included to have the webpack-dev-server serve API responses.

./src/.api/
├── deboost
├── ghost
├── invalid
├── notweets
├── protected
└── typeahead

All these files hold one response object in JSON notation. These files are served, whenever you test their respective name.

shadowban-eu-frontend's People

Contributors

0xallie avatar netzdenunziant avatar rbeer 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.