Commit graph

16 commits

Author SHA1 Message Date
TSRBerry
d0ab84a254
Switch to TypeScript and express & Add stats API (#1)
* Switch to node package

Setup environment for:
- Typescript
- express with ejs as the view engine

* Apply prettier formatting

* Read API stats from Redis

* Apply prettier formatting

* Add Dockerfile

* Add environment variables for configuration to README.md

* Log redis errors correctly

* Connect to redis before executing requests

* Rename json properties to match the current ones

* Configure Redis error handler and client correctly

* Remove workflow to fix pnpm dependencies

GitHub supports pnpm for dependabot natively now:
https://github.blog/changelog/2023-06-12-dependabot-version-updates-now-supports-pnpm/

* Add REDIS_SOCKET env var and prefer it over REDIS_URL

* Add default.nix

* Add SOCKET_PATH env var and prefer it over HOST and PORT

* Bump website version

* Add node symlink to output directory

* Add DATA_PATH env var

* Apply prettier formatting

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-02 04:05:12 +02:00
TSR Berry
434ca00447
Move static files to public directory 2023-05-29 17:18:50 +02:00
TSR Berry
3fb413276f
Add README.md 2023-04-23 17:32:01 +02:00
TSR Berry
1a6511c622
Add LICENSE 2023-04-23 17:27:54 +02:00
Ac_K
fca4d4ac27 Update logo link and update gamelist 2022-11-21 15:24:09 +01:00
Ac_K
f1ca03d566 Add game version to the API/Website 2020-12-18 04:01:49 +01:00
Ac_K
80d4991caa Fix previous change because I'm a lame! 2020-08-29 03:49:08 +02:00
Ac_K
f6813594cc Change website network mode icons 2020-08-29 03:44:05 +02:00
Ac_K
9183528f1b Restyle the homepage 2020-08-29 03:04:33 +02:00
Ac_K
4a0a5b2e6b Fix responsive 2020-08-28 20:22:29 +02:00
riperiperi
8c02955673 Fix player list. 2020-08-28 11:16:27 +01:00
Ac_K
77bb2bef74 Add Metadata/Favicon/Guide and polish the website 2020-08-28 00:18:17 +02:00
Ac_K
94b8de9d78 Fix html/js escaping 2020-08-27 23:21:22 +02:00
Ac_K
1570e352d4 Fix scrollbar 2020-08-24 02:32:26 +02:00
Ac_K
851d251f33 Big cleanup and little fixes 2020-08-24 00:28:40 +02:00
Ac_K
7afd8032a8 Improve API response and add a static website at root 2020-08-16 19:57:30 +02:00