From 86ffcb6f3bd2482241f1f4e63924d316e355f102 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sat, 20 Jun 2020 20:42:03 -0600 Subject: [PATCH] Provide example front end code --- README.md | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 20acee4..77c61ca 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,6 @@ services: counter: image: registry.deadbeef.codes/siteviewcounter:latest restart: always - depends_on: - - traefik expose: - "8080" environment: @@ -67,4 +65,35 @@ services: - MYSQL_DATABASE=counter - TZ=America/Edmonton -``` \ No newline at end of file +``` + +### Example front end usage + +You can pretty much implement this in your front end however you want, you just need to make a GET request to whatever endpoint the counter container is running at. This is how I use it though... + +```html + + + + + +
+ + +``` +