Skip to content

rohanb10/snoozz-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snoozz Stats

This is a tiny repo with code used to build the web app at stats.snoozz.me. It basically is the API with which I collect anonymous click data for my extension Snoozz.

All the data that passes through this API is publicly available on the Stats page of the Snoozz website.

Theres nothing fancy here. I followed this tutorial for the most part. Its slightly outdated but there's still a good chunk of useful information. https://www.sitepoint.com/deploy-rest-api-in-30-mins-mlab-heroku/

The data is sent to a MongoDB collection, and this code is running on Heroku.

Dont read the section below. Its top secret and not for you.

Sub in the Mongo Connection URL and run npm start to test locally

Deploy on Heroku git push heroku main

Heroku logs heroku logs -s app -d web -t

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published