Giter VIP home page Giter VIP logo

twa.io's People

Contributors

thewildandy avatar

Watchers

 avatar

twa.io's Issues

"This is a test site" notice

Add some kind of notice to forewarn folks stumbling upon the site that it's not production-ready and that any data they enter will most likely be wiped.

Basic tracking for redirects

Before a valid request is redirected (#4) to the destination URL we should:

  • Increment the hit count for the slug
  • Log the requester's IP address
  • Log the request's referrer

Initial Release Ship List

Do not comment on this issue.

This is the ship list for the initial functional release.

Features

General

  • #2 Test notice (tell folks stumbling upon the site that their data won't be saved forever)

Home Page

  • #3 Enter a URL to shorten or track. Redirect a recognised URL or slug to its tracking page

Routing

  • #4 Redirect requests for valid slugs to the destination page
  • Gracefully handle 404s

Tracking

  • #5 Number of requests
  • #5 IP address
  • #5 Referrer

Stretch Goals

  • Allow entering a custom slug when shortening a URL
  • Realtime stats on tracking page
  • #6 List recently shortened URLs on the home page

URL and slug entry on home page

It should be possible to quickly add or track a URL directly from the main page by simply entering a URL or slug; if we recognise the URL or slug we'll present a link to its tracking data, otherwise we'll show the interface to shorten a URL prepopulated with the URL or slug as appropriate.

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.