Commit Graph

43 Commits

Author SHA1 Message Date
dependabot[bot] 8304c48a87
Bump minimist from 1.2.5 to 1.2.6 (#9)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 08:59:35 +02:00
dependabot[bot] 9310fa9bcf Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 08:23:06 +02:00
Jakub Sokołowski 8d692ba227
update node dependencies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-15 14:31:12 +01:00
Jakub Sokołowski 65753e3de9
allow up to 6 characters in ID to allow for official:fdroid
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-15 12:33:45 +01:00
Jakub Sokołowski 557f2367dc
upgrade Docker image to use node:14-alpine
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-27 10:03:58 +01:00
Jakub Sokołowski 9de59af196
update test dependencies, add more tests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-27 10:03:57 +01:00
Jakub Sokołowski c7ea22ed0d
upgrade Gulp from 3.9.1 to 4.0.2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-27 10:03:56 +01:00
Jakub Sokołowski 5d5f6ef8fa
match POST path using a strict regex
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-27 10:03:55 +01:00
Jakub Sokołowski 2226dabf54
make post and put work the same way 2018-11-15 15:31:22 +01:00
Jakub Sokołowski 1c36339db7
fix formatting of metrics 2018-11-15 14:48:38 +01:00
Jakub Sokołowski 98d3384b33
add a /metrics call for all counts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-15 14:47:49 +01:00
Jakub Sokołowski 1d115164f0
add exception for when there are no keys 2018-11-15 14:30:19 +01:00
Jakub Sokołowski ff2907cadd
move logging setup to server.js 2018-11-15 13:18:28 +01:00
Jakub Sokołowski 16fbf0e34b
remove global coverage thresholds 2018-11-14 18:00:43 +01:00
Jakub Sokołowski 3bf5791bf0
make it possible to stub the counter for tests, add more tests 2018-11-14 17:59:12 +01:00
Jakub Sokołowski 1de51e3f2a
add jest for running tests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 17:18:44 +01:00
Jakub Sokołowski 792f61d55e
formatting 2018-11-14 16:45:05 +01:00
Jakub Sokołowski 9d32799486
add logger for development
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 16:36:28 +01:00
Jakub Sokołowski a324047cd7
change path to /clicks for all calls
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 16:25:25 +01:00
Jakub Sokołowski 98477d8437
add key-based incrementing of clicks and /clicks endpoint
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 16:23:58 +01:00
Jakub Sokołowski af7187a71d
add missing babel-node package and fix starting js file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 16:23:36 +01:00
Jakub Sokołowski d08d2bb868 fix name of docker image to build 2018-10-17 10:27:38 -04:00
Jakub Sokołowski c5886ddb42 update docs 2018-10-17 10:26:31 -04:00
Jakub Sokołowski 2738dee580 add npm scripts for building docker image
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-17 10:24:16 -04:00
Jakub Sokołowski de2f2007b4 drop unused packages and stage-2 2018-10-17 10:08:25 -04:00
Jakub Sokołowski 59fad17e08 add a Dockerfile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-17 09:44:45 -04:00
Jakub Sokołowski a6d866aac8 use newer versions of gulp packages 2018-10-17 09:44:22 -04:00
Jakub Sokołowski 27fb356c0d use print to show files included 2018-10-16 17:19:54 -04:00
Jakub Sokołowski 7c9a1036f7 add a nodemon task to gulp 2018-10-16 16:51:53 -04:00
Jakub Sokołowski b38edbaa26 use env variables for config
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-16 16:09:41 -04:00
Jakub Sokołowski 9b0426f6c1 add building of counter app with gulp 2018-10-16 16:04:08 -04:00
Jakub Sokołowski c2b4a4ce6e convert require to import statements 2018-10-16 14:12:06 -04:00
Jakub Sokołowski 283a74f657 add babel build step 2018-10-16 14:06:10 -04:00
Jakub Sokołowski 2a65270400 add README 2018-10-16 14:03:16 -04:00
Jakub Sokołowski be5b1bdb86 fix initialization of counter 2018-10-16 14:01:00 -04:00
Jakub Sokołowski 186116c6c3 add counter implementaiton with async-redis 2018-10-16 13:55:00 -04:00
Jakub Sokołowski a49902da00 add minimal counter 2018-10-16 13:36:24 -04:00
Jakub Sokołowski da3bd0695e add json and router koa modules 2018-10-16 13:31:16 -04:00
Jakub Sokołowski 13ca85c1c7 add basic koa app 2018-10-16 13:25:04 -04:00
Jakub Sokołowski 11cdf44480 add basic babel setup 2018-10-16 13:22:22 -04:00
Jakub Sokołowski b316ac26c8 add basic gitignore 2018-10-16 13:19:37 -04:00
Jakub Sokołowski 225b051c2f add basic package.json with koa and ioredis 2018-10-16 13:18:59 -04:00
Jakub Sokołowski a3652a3a3e empty commit 2018-10-16 13:13:29 -04:00