Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

potrebujem middleware#58

Merged
matusgabas merged 8 commits into
49-registration-featurefrom
main
Jun 19, 2026
Merged

potrebujem middleware#58
matusgabas merged 8 commits into
49-registration-featurefrom
main

Conversation

@matusgabas

Copy link
Copy Markdown
Contributor

No description provided.

Emma04Koh and others added 8 commits June 18, 2026 20:26
pridanie admin CRUD schém
mapovania dát
oprava radenia výziev od najnovších
pripravené na auth feature
naformátovanie upload cesty pre lepšiu čitateľnosť
> Pridane JWT variables pre .env subor
> Aktualizovana prisma schema o refresh_tokens model + migracia
> env config zod schema pozaduje JWT variables
> Do app.ts bola pridana trust proxy kvoli Cloudflare hoppingu
> Pridane argon2 a jose packages
> Pridany basic Authenticate a Authorize middleware
> v1 routes aktualizovane o test auth middlewares na /health route
> Pridany globalny type interface pre Request
> Authenticate teraz zamietne suspended alebo deleted accounts
> Catch defaultne navráti UnauthorizedError ak nedostane UnauthorizedError alebo ForbiddenError
> Authorize ForbiddenError navracia viac profesionalnejší message (sorry za moj autizmus)
* základný validation middleware s funkciou validácie request.body

* lint fix
@matusgabas
matusgabas merged commit 07c507a into 49-registration-feature Jun 19, 2026
1 of 2 checks passed
@theAntarux

Copy link
Copy Markdown
Member

to co jeee za nazov

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants