Code Monkey home page Code Monkey logo

click-count's People

Contributors

g0dc0der avatar throwaway-acccount avatar

Watchers

 avatar

click-count's Issues

Remove LockManager when new db is complete

Basically, if something is already taken, let the db throw exception and catch it in the facade. From there, forward the error to the rest service which in turn return an appropriate response.

Things we need to ask/learn more of

  • How much logging do we really need?
  • A way to report user?
  • Banning users?
  • Stop curling by random people?
  • Can I use port 9000(non-80) for my server?
  • What do I need to do to protect myself from hackers and other saboteurs?

Logging

  • The requests need to be logged.
  • Hibernate logging must be turned to INFO or SEVERE.

Refactor captcha

  • Move to new class
  • New annotation to enable captcha
  • New filter to handle the semantics

Logic for click manipulation

Click-Count will work with unique clicks. So one IP address can only increase the counter for a given URL once every hour.

Always respond with URL, just not increase counter if disallowed.
This logic should be done asynchronously to keep fast redirects.

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.