Displaying Stats

Today I'll take the dashboard I created yesterday and make it display real data.

I'll start with a simple /stats endpoint. No need to differentiate the projects yet.

I can't really track unique visitors with the model I have. I'll have to make some changes.

For each user, I'll create a unique id, store it in the local storage, and send it with each request.

I can't track the session duration either. Not sure how to approach that. I'll skip it for now because I don't have much time.

Took me longer than expected, but the first data is here!

alt text

Obviously many problems here, but I'm pretty excited to see something!