Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcusoftnet/page-logger

A small tool to track page views on marcusoft.net
https://github.com/marcusoftnet/page-logger

Last synced: about 5 hours ago
JSON representation

A small tool to track page views on marcusoft.net

Awesome Lists containing this project

README

        

A simple log for page views.

# Todo
* If more than 10 data points => aggregate to week, to month
* Update the filtering code to utilize underscore

# Doing
* Draw a diagram per view

# Done
* Calculate a sum per view
* Update text of buttons
* Graphs for the hits per page view
* Page for a URL showing the hits on that Url over time
* Filter out all data less than 1
* Filtering on dates
* Styling with bootstrap
* First barebones version deployed

# What I've learned
* CORS via koa-cors is a nice way to handle CORS
* In modern browsers $.post() automatically adds CORS headers when doing request to other domains.