Skip to content

tinoschroeter/counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HomePage Counter

Count visitors for your README.md, Issues, PRs, etc

in just one line markdown code

visitors

![visitors](https://counter.tino.sh/visitor/tinoschroeter)
![visitors](https://counter.tino.sh/visitor/{{ $id }})

development

cd app
npm install
npm start

open http://localhost:3000/visitor/name
sqlite3 data.sql

C | insert into counter values ("alice", 42);
R | select * from counter;
U | update counter set count = 77 where id = "alice";
D | delete from counter where id = "alice";
.schema counter
CREATE TABLE counter (id text NOT NULL UNIQUE, count integer NOT NULL);