aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2019-11-10 13:44:09 -0500
committerKevin J Hoerr <kjhoerr@protonmail.com>2019-11-10 14:13:47 -0500
commitc045555e00a926e3506a80824d43ffc887e196f5 (patch)
tree7802c07d006cd6186cf80833cb1056ffb5df90b7 /public
parent57acd7e00b445a075e6f57a69f5cdbdedf3e038a (diff)
downloadao-coverage-c045555e00a926e3506a80824d43ffc887e196f5.tar.gz
ao-coverage-c045555e00a926e3506a80824d43ffc887e196f5.tar.bz2
ao-coverage-c045555e00a926e3506a80824d43ffc887e196f5.zip
Set up initial project
Initializes project with TypeScript, ExpressJS, and Badgen. Defines initial (v1) request paths: GET /bash GET /v1/:org/:repo/:branch.svg GET /v1/:org/:repo/:branch.html GET /v1/:org/:repo/:branch/:commit.svg GET /v1/:org/:repo/:branch/:commit.html POST /v1/:org/:repo/:branch/:commit.html?token=&format= Also sets up interfaces for defining multiple formats. Tarpaulin is defined but not implemented. All requests (aside from GET /bash) return 501 NOT IMPLEMENTED. A global TOKEN is expected for POST request. This can and should be adapted to assigning tokens per repository, though this may require verification from the originating repository or administrative designation.
Diffstat (limited to 'public')
-rw-r--r--public/bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/bash b/public/bash
new file mode 100644
index 0000000..2e0591a
--- /dev/null
+++ b/public/bash
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+## AAAAAAAAAA
+
+#TODO send file via curl
+#TODO process response code \ No newline at end of file