/blog-views

Primary LanguageJavaScript

blog-views

Microservice that logs views for the realtime counters of rauchg's blog, and prevents abuse by logging IPs.

It's aliased to https://rauchg-blog-views.now.sh

How to use

You must populate service-account.json file first, which you can download from the Firebase accounts tab.

Development

npm start

Deployment

Install now and run:

now 

API

GET /?id=$id

Each view is logged by /?id=the-post-id.