treyx / traffic-spy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from turingschool-examples/rush-hour-skeleton
This project forked from turingschool-examples/rush-hour-skeleton
UserAgent class needs to be wrapped in TrafficSpy module or to avoid naming conflicts
As a client
When I visit: http://yourapplication:port/sources/IDENTIFIER/urls/RELATIVE/PATH
and that identifier DOES exist
and that relative AND that path exist
Then I should see longest response time
And I should see shortest response time
And I should see average response time
And I should see which HTTP verbs have been used
And I should see most popular referrers
And I should see most popular user agents
As a client
When I visit: http://yourapplication:port/sources/IDENTIFIER/urls/RELATIVE/PATH
and that identifier DOES NOT exists
Then I should see a message that the url has not been requested
Go through traffic spy on jumpstart labs to figure out which views we require, then create them with simple html insides.
...Then I should see a page that displays most received events to least received events
As a client
When I visit http://yourapplication:port/sources/IDENTIFIER/events/EVENTNAME
And an event has been defined
Then I should see a page that displays an hour by hour breakdown of when the event was received (number shown at noon,1pm, 2pm, etc, for all 24 hours)
And I should see how many times it was received overall
When I visit http://yourapplication:port/sources/IDENTIFIER/events/EVENTNAME
And the event has not been defined
Then I should see a page displaying a message that no event with the given name has been defined
And I should see a hyperlink to the application events index
Make skeleton for route 'post "/sources"' and write tests.
As a client
When I visit http://yourapplication:port/sources/IDENTIFIER
And that identifer exists
Then I should see a page that displays the most requested URLS to least requested URLS (url)
And I should see a web browser breakdown across all requests (userAgent)
And I should see an OS breakdown across all requests (userAgent)
And I should see Screen Resolutions across all requests (resolutionWidth x resolutionHeight)
And I should see a Longest, average response time per URL to shortest, average response time per URL
And I should see a Hyperlinks of each url to view url specific data
And I should see a Hyperlink to view aggregate event data
As a client
When I visit http://yourapplication:port/sources/IDENTIFIER
And the identifier does not exist
Then I should see a "Some notification message"
Each link should go to an event with it's own specific details.
As a client
When I visit http://yourapplication:port/sources/IDENTIFIER/events
And events have been defined
Then I should see a page that displays most received events to least received events
And I should see hyperlinks of each event to view event specific data
When I visit http://yourapplication:port/sources/IDENTIFIER/events
And no events have been defined
Then I should see a page displaying a message that no events have been defined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.