Skip to content

optimized/blog-views

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%