rohanb10 / snoozz-stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v2.0


Languages

Language:JavaScript 66.8%Language:HTML 33.2%