Commit Graph

29 Commits

Author SHA1 Message Date
Vincent Batts 3cc7a378c0 Merge pull request 'index: increase font of critter name' (#9) from font-size into main
Basic Checking / Explore-Gitea-Actions (push) Successful in 32s Details
Reviewed-on: #9
2023-09-28 18:23:43 +00:00
Vincent Batts e32d3c9233
app: logging & in-memory sqlite while in non-prod
Basic Checking / Explore-Gitea-Actions (push) Successful in 30s Details
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
Vincent Batts 6c0c6b071c
index: increase font of critter name
Basic Checking / Explore-Gitea-Actions (push) Failing after 29s Details
Fixes #3

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

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-22 10:23:42 -04:00
Vincent Batts 6215557a7f
gitea actions!
Basic Checking / Explore-Gitea-Actions (push) Successful in 47s Details
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 21:34:45 -04:00
Vincent Batts 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
Vincent Batts 20e560c55c
express: css, copyright, and a donation link
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 13:50:41 -04:00
Vincent Batts 7116cc9eb1
express: center things
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 12:31:26 -04:00
Vincent Batts 771e5a188d
express: results now has averge times!
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 12:12:49 -04:00
Vincent Batts e0bf0d8609
express: readying for multiple results
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 11:20:10 -04:00
Vincent Batts 0e4212d114
express: format with prettier
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 10:42:37 -04:00
Vincent Batts 6ddaefdb84
express: results are more useful now
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 10:24:42 -04:00
Vincent Batts 97829c969c
backend: lose the golang thing
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 10:03:00 -04:00
Vincent Batts 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
Vincent Batts efd9572e32
express: a place for logs
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 09:51:37 -04:00
Vincent Batts 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
Vincent Batts e3150bd53b
express: add Matt's critters
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 09:27:02 -04:00
Vincent Batts 2710d482f6
express: clear session and send a map
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 08:26:01 -04:00
Vincent Batts 094465b9a7
express: serve up the frontend js asset
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 07:02:14 -04:00
Vincent Batts 44167de812
express: time and session ID
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 06:40:33 -04:00
Vincent Batts c811d35fa5
backend: WIP
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-15 06:39:54 -04:00
Vincent Batts d5c43d0624
express: WIP
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-14 21:35:41 -04:00
Vincent Batts 5c1b0ce6ff
express: thanks ChatGPT!
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-14 20:38:32 -04:00
Vincent Batts 3eb17c1935
Initial commit
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-09-14 20:01:29 -04:00