Commit graph

31 commits

Author SHA1 Message Date
dbc7509fbd
*: stubbing out a page for "what's this about?"
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 28s
Fixes #2

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-10-02 14:50:29 -04:00
31408d4536
index: add a couple of meta tags
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-28 14:42:42 -04:00
3cc7a378c0 Merge pull request 'index: increase font of critter name' (#9) from font-size into main
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 32s
Reviewed-on: #9
2023-09-28 18:23:43 +00:00
e32d3c9233
app: logging & in-memory sqlite while in non-prod
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 30s
The tests are currently working on my laptop, but failing on the CI
actions. 🤔
There have always been errors on it inserting animals to the database,
and now seem like it fails to get routes before the async promise is
fufilled? I'm not sure.

Switch everything to the bole logger, and not the `console.`
stuff.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-28 14:13:59 -04:00
6c0c6b071c
index: increase font of critter name
Some checks failed
Basic Checking / Explore-Gitea-Actions (push) Failing after 29s
Fixes #3

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-28 13:46:18 -04:00
d6b3c31348
package.json: run test with local installed jest
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 31s
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-28 13:31:55 -04:00
b9d9ecaec2 Merge pull request '*: restructuring to make testing flow nicer' (#8) from restructure into main
Some checks failed
Basic Checking / Explore-Gitea-Actions (push) Failing after 30s
Reviewed-on: #8
2023-09-26 19:09:36 +00:00
ef4e816dac
*: restructuring to make testing flow nicer
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 50s
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-26 15:07:54 -04:00
281945a672 Merge pull request '*: beginning unittest setup' (#7) from unittest into main
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 7s
Reviewed-on: #7
2023-09-26 19:06:41 +00:00
94eac4f89b
*: beginning unittest setup
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 7s
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-26 12:38:11 -05:00
0997f578c5
animals.json: adding moar animals
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 7s
Fixes #4

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-22 10:23:42 -04:00
6215557a7f
gitea actions!
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 47s
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 21:34:45 -04:00
6114ef68b0
express: always use params in SQL
this way it handles the sanitizing and avoids injection

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 20:31:47 -04:00
20e560c55c
express: css, copyright, and a donation link
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 13:50:41 -04:00
7116cc9eb1
express: center things
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 12:31:26 -04:00
771e5a188d
express: results now has averge times!
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 12:12:49 -04:00
e0bf0d8609
express: readying for multiple results
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 11:20:10 -04:00
0e4212d114
express: format with prettier
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 10:42:37 -04:00
6ddaefdb84
express: results are more useful now
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 10:24:42 -04:00
97829c969c
backend: lose the golang thing
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 10:03:00 -04:00
65cd5b2f1e
express: log to a file, rather than what docker might lose
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 10:01:56 -04:00
efd9572e32
express: a place for logs
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 09:51:37 -04:00
5c4e28e2de
express: ready for voting, but the /results display is not good
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 09:37:35 -04:00
e3150bd53b
express: add Matt's critters
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 09:27:02 -04:00
2710d482f6
express: clear session and send a map
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 08:26:01 -04:00
094465b9a7
express: serve up the frontend js asset
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 07:02:14 -04:00
44167de812
express: time and session ID
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 06:40:33 -04:00
c811d35fa5
backend: WIP
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 06:39:54 -04:00
d5c43d0624
express: WIP
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-14 21:35:41 -04:00
5c1b0ce6ff
express: thanks ChatGPT!
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-14 20:38:32 -04:00
3eb17c1935
Initial commit
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-14 20:01:29 -04:00