Skip to content

About

Visitor counter project for self usage.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

56 Commits

Folders and files

Repository files navigation

Visit counter

deno express postgres react

counter server

Description:

Visitor counter project for self usage. Includes:

  • 3 counter types
  • Admin panel
  • Analytics

image

Featured:

  • Auto installer of database and app using Docker

Project install:

  1. Postgres must be installed.
  2. Deno must be installed.
  3. cp .env.example .env
  4. Postgres default user password must be defined and changed in .env.
> sudo -u postgres psql
# /password postgres
  1. deno install: to install packages.
  2. deno task start: to start server on 3082 port (by default).

Project usage:

  • Counter: localhost:3082/<counter-name>/?type=badge&title=Counter&color=red ('default': default counter-name).
  • Admin panel: localhost:3082.
  • Analytics: localhost:3082/api/analytics/<counter-name> (need to be authorized).

Counters:

  • (image/svg) badge [title, color]
  • (image/svg) classic
  • (text/plain) number

Features:

  • Repeatable requests are not counting.
  • Client with ability to manage users and counters. Sign in by credentials, auto auth by token.
  • Analytics: geoip, system, platform, agent, graph.
  • SSR, Bundle on fly.
  • PWA.

About

Visitor counter project for self usage.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages