monkeytype/backend
Seif Soliman 86383cf9ef
refactor(backend): improve redis and json.parse type safety with zod (@byseif21, @miodec) (#6481)
### Description

refactored backend files to enhance type safety and reliability using
Zod validation and Redis instead of JSON.parse , I tried to avoid the
files that isn't necessary tho so I hope I don't miss any or included
unnecessary ones!! didn't fully test only verified code compilation and
partial tests without Redis!!.


Should Close #5881 
Related to #6207

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-04-24 16:25:43 +02:00
..
__migration__ refactor: remove global type namespaces (@miodec) (#5907) 2024-09-23 15:34:16 +02:00
__tests__ chore: add oxlint (@miodec) (#6455) 2025-04-16 17:18:50 +02:00
docker fix: local development using docker not working with pnpm (@fehmer) (#6401) 2025-03-26 13:11:02 +01:00
email-templates chore: replace twitter urls with x (unrealapex) (#5541) 2024-07-01 13:53:49 +02:00
private fix(docker): fix configuration endpoint, add configuration export (@fehmer) (#6317) 2025-02-27 10:48:59 +01:00
redis-scripts feat: leaderboards remake, weekly xp leaderboards (@miodec) (#6250) 2025-02-12 16:34:03 +01:00
scripts build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343) 2025-03-12 16:20:46 +01:00
src refactor(backend): improve redis and json.parse type safety with zod (@byseif21, @miodec) (#6481) 2025-04-24 16:25:43 +02:00
.eslintrc.cjs refactor: restructure project to a true monorepo (#5626) 2024-07-22 15:08:11 +02:00
.gitignore
.oxlintrc.json refactor: enable ban-ts-comment rule 2025-04-16 19:15:30 +02:00
example.env impr(dev): allow docker compose to start the backend server (plbstl, Miodec) (#4995) 2024-02-28 14:17:09 +01:00
knip.json
package.json chore: upgrade oxlint 2025-04-23 18:54:33 +02:00
redocly.yaml chore: update @redocly/cli (@fehmer) (#6255) 2025-02-11 13:52:36 +01:00
tsconfig.json build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343) 2025-03-12 16:20:46 +01:00
vitest.config.js ci: fix backend vitest.config (@fehmer) (#5780) 2024-08-14 13:07:00 +02:00