diff --git a/.gitignore b/.gitignore
index 10dc884..d64f2e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,4 +20,10 @@
*/*/package-lock.json
*/*/yarn.lock
-Thumbs.*
\ No newline at end of file
+Thumbs.*
+
+# tömörített fájlok
+*.zip
+*.tar.gz
+*.rar
+*.7z
diff --git a/Backend/negyedik gyakorlat/coverage/clover.xml b/Backend/negyedik gyakorlat/coverage/clover.xml
deleted file mode 100644
index c50d4ab..0000000
--- a/Backend/negyedik gyakorlat/coverage/clover.xml
+++ /dev/null
@@ -1,418 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Backend/negyedik gyakorlat/coverage/coverage-final.json b/Backend/negyedik gyakorlat/coverage/coverage-final.json
deleted file mode 100644
index 9c590f5..0000000
--- a/Backend/negyedik gyakorlat/coverage/coverage-final.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\controllers\\AuthController.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\controllers\\AuthController.js","statementMap":{"0":{"start":{"line":1,"column":28},"end":{"line":1,"column":90}},"1":{"start":{"line":2,"column":25},"end":{"line":2,"column":84}},"2":{"start":{"line":10,"column":4},"end":{"line":10,"column":65}},"3":{"start":{"line":11,"column":4},"end":{"line":11,"column":59}},"4":{"start":{"line":12,"column":4},"end":{"line":12,"column":33}},"5":{"start":{"line":19,"column":4},"end":{"line":46,"column":5}},"6":{"start":{"line":20,"column":40},"end":{"line":20,"column":48}},"7":{"start":{"line":22,"column":22},"end":{"line":22,"column":68}},"8":{"start":{"line":23,"column":21},"end":{"line":23,"column":74}},"9":{"start":{"line":26,"column":6},"end":{"line":30,"column":8}},"10":{"start":{"line":32,"column":6},"end":{"line":37,"column":9}},"11":{"start":{"line":40,"column":21},"end":{"line":43,"column":66}},"12":{"start":{"line":45,"column":6},"end":{"line":45,"column":56}},"13":{"start":{"line":53,"column":4},"end":{"line":78,"column":5}},"14":{"start":{"line":54,"column":34},"end":{"line":54,"column":42}},"15":{"start":{"line":56,"column":22},"end":{"line":56,"column":59}},"16":{"start":{"line":57,"column":21},"end":{"line":57,"column":71}},"17":{"start":{"line":60,"column":6},"end":{"line":64,"column":8}},"18":{"start":{"line":66,"column":6},"end":{"line":71,"column":9}},"19":{"start":{"line":74,"column":21},"end":{"line":75,"column":67}},"20":{"start":{"line":77,"column":6},"end":{"line":77,"column":56}},"21":{"start":{"line":85,"column":4},"end":{"line":99,"column":5}},"22":{"start":{"line":87,"column":6},"end":{"line":92,"column":9}},"23":{"start":{"line":94,"column":6},"end":{"line":96,"column":9}},"24":{"start":{"line":98,"column":6},"end":{"line":98,"column":53}},"25":{"start":{"line":103,"column":0},"end":{"line":103,"column":32}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":2},"end":{"line":9,"column":3}},"loc":{"start":{"line":9,"column":79},"end":{"line":13,"column":3}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":18,"column":2},"end":{"line":18,"column":3}},"loc":{"start":{"line":18,"column":27},"end":{"line":47,"column":3}},"line":18},"2":{"name":"(anonymous_2)","decl":{"start":{"line":52,"column":2},"end":{"line":52,"column":3}},"loc":{"start":{"line":52,"column":24},"end":{"line":79,"column":3}},"line":52},"3":{"name":"(anonymous_3)","decl":{"start":{"line":84,"column":2},"end":{"line":84,"column":3}},"loc":{"start":{"line":84,"column":25},"end":{"line":100,"column":3}},"line":84}},"branchMap":{"0":{"loc":{"start":{"line":40,"column":21},"end":{"line":43,"column":66}},"type":"cond-expr","locations":[{"start":{"line":43,"column":57},"end":{"line":43,"column":60}},{"start":{"line":43,"column":63},"end":{"line":43,"column":66}}],"line":40},"1":{"loc":{"start":{"line":40,"column":21},"end":{"line":43,"column":54}},"type":"binary-expr","locations":[{"start":{"line":40,"column":21},"end":{"line":40,"column":55}},{"start":{"line":41,"column":21},"end":{"line":41,"column":61}},{"start":{"line":42,"column":21},"end":{"line":42,"column":54}},{"start":{"line":43,"column":21},"end":{"line":43,"column":54}}],"line":40},"2":{"loc":{"start":{"line":74,"column":21},"end":{"line":75,"column":67}},"type":"cond-expr","locations":[{"start":{"line":75,"column":58},"end":{"line":75,"column":61}},{"start":{"line":75,"column":64},"end":{"line":75,"column":67}}],"line":74},"3":{"loc":{"start":{"line":74,"column":21},"end":{"line":75,"column":55}},"type":"binary-expr","locations":[{"start":{"line":74,"column":21},"end":{"line":74,"column":54}},{"start":{"line":75,"column":21},"end":{"line":75,"column":55}}],"line":74}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0},"f":{"0":0,"1":0,"2":0,"3":0},"b":{"0":[0,0],"1":[0,0,0,0],"2":[0,0],"3":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\controllers\\UserController.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\controllers\\UserController.js","statementMap":{"0":{"start":{"line":1,"column":19},"end":{"line":1,"column":71}},"1":{"start":{"line":2,"column":25},"end":{"line":2,"column":83}},"2":{"start":{"line":3,"column":25},"end":{"line":3,"column":83}},"3":{"start":{"line":4,"column":33},"end":{"line":4,"column":100}},"4":{"start":{"line":12,"column":4},"end":{"line":12,"column":47}},"5":{"start":{"line":13,"column":4},"end":{"line":13,"column":59}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":59}},"7":{"start":{"line":15,"column":4},"end":{"line":15,"column":75}},"8":{"start":{"line":22,"column":4},"end":{"line":36,"column":5}},"9":{"start":{"line":24,"column":21},"end":{"line":24,"column":36}},"10":{"start":{"line":26,"column":20},"end":{"line":26,"column":42}},"11":{"start":{"line":27,"column":19},"end":{"line":27,"column":61}},"12":{"start":{"line":29,"column":6},"end":{"line":32,"column":9}},"13":{"start":{"line":34,"column":21},"end":{"line":34,"column":68}},"14":{"start":{"line":35,"column":6},"end":{"line":35,"column":56}},"15":{"start":{"line":43,"column":4},"end":{"line":54,"column":5}},"16":{"start":{"line":44,"column":20},"end":{"line":44,"column":42}},"17":{"start":{"line":45,"column":20},"end":{"line":45,"column":68}},"18":{"start":{"line":47,"column":6},"end":{"line":51,"column":9}},"19":{"start":{"line":53,"column":6},"end":{"line":53,"column":53}},"20":{"start":{"line":61,"column":4},"end":{"line":79,"column":5}},"21":{"start":{"line":62,"column":21},"end":{"line":62,"column":31}},"22":{"start":{"line":63,"column":21},"end":{"line":63,"column":33}},"23":{"start":{"line":65,"column":6},"end":{"line":67,"column":7}},"24":{"start":{"line":66,"column":8},"end":{"line":66,"column":66}},"25":{"start":{"line":69,"column":20},"end":{"line":69,"column":48}},"26":{"start":{"line":70,"column":19},"end":{"line":70,"column":67}},"27":{"start":{"line":72,"column":6},"end":{"line":75,"column":9}},"28":{"start":{"line":77,"column":21},"end":{"line":77,"column":68}},"29":{"start":{"line":78,"column":6},"end":{"line":78,"column":56}},"30":{"start":{"line":86,"column":4},"end":{"line":100,"column":5}},"31":{"start":{"line":87,"column":21},"end":{"line":87,"column":36}},"32":{"start":{"line":88,"column":23},"end":{"line":88,"column":31}},"33":{"start":{"line":90,"column":22},"end":{"line":90,"column":64}},"34":{"start":{"line":91,"column":19},"end":{"line":91,"column":77}},"35":{"start":{"line":93,"column":6},"end":{"line":96,"column":9}},"36":{"start":{"line":98,"column":21},"end":{"line":98,"column":67}},"37":{"start":{"line":99,"column":6},"end":{"line":99,"column":56}},"38":{"start":{"line":104,"column":0},"end":{"line":104,"column":32}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":2},"end":{"line":11,"column":3}},"loc":{"start":{"line":11,"column":116},"end":{"line":16,"column":3}},"line":11},"1":{"name":"(anonymous_1)","decl":{"start":{"line":21,"column":2},"end":{"line":21,"column":3}},"loc":{"start":{"line":21,"column":24},"end":{"line":37,"column":3}},"line":21},"2":{"name":"(anonymous_2)","decl":{"start":{"line":42,"column":2},"end":{"line":42,"column":3}},"loc":{"start":{"line":42,"column":25},"end":{"line":55,"column":3}},"line":42},"3":{"name":"(anonymous_3)","decl":{"start":{"line":60,"column":2},"end":{"line":60,"column":3}},"loc":{"start":{"line":60,"column":26},"end":{"line":80,"column":3}},"line":60},"4":{"name":"(anonymous_4)","decl":{"start":{"line":85,"column":2},"end":{"line":85,"column":3}},"loc":{"start":{"line":85,"column":27},"end":{"line":101,"column":3}},"line":85}},"branchMap":{"0":{"loc":{"start":{"line":34,"column":21},"end":{"line":34,"column":68}},"type":"cond-expr","locations":[{"start":{"line":34,"column":59},"end":{"line":34,"column":62}},{"start":{"line":34,"column":65},"end":{"line":34,"column":68}}],"line":34},"1":{"loc":{"start":{"line":65,"column":6},"end":{"line":67,"column":7}},"type":"if","locations":[{"start":{"line":65,"column":6},"end":{"line":67,"column":7}},{"start":{},"end":{}}],"line":65},"2":{"loc":{"start":{"line":77,"column":21},"end":{"line":77,"column":68}},"type":"cond-expr","locations":[{"start":{"line":77,"column":59},"end":{"line":77,"column":62}},{"start":{"line":77,"column":65},"end":{"line":77,"column":68}}],"line":77},"3":{"loc":{"start":{"line":98,"column":21},"end":{"line":98,"column":67}},"type":"cond-expr","locations":[{"start":{"line":98,"column":58},"end":{"line":98,"column":61}},{"start":{"line":98,"column":64},"end":{"line":98,"column":67}}],"line":98}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\middlewares\\authMiddleware.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\middlewares\\authMiddleware.js","statementMap":{"0":{"start":{"line":1,"column":19},"end":{"line":1,"column":67}},"1":{"start":{"line":3,"column":19},"end":{"line":3,"column":35}},"2":{"start":{"line":14,"column":2},"end":{"line":41,"column":3}},"3":{"start":{"line":16,"column":18},"end":{"line":16,"column":65}},"4":{"start":{"line":18,"column":4},"end":{"line":23,"column":5}},"5":{"start":{"line":19,"column":6},"end":{"line":22,"column":9}},"6":{"start":{"line":26,"column":20},"end":{"line":26,"column":49}},"7":{"start":{"line":29,"column":4},"end":{"line":32,"column":6}},"8":{"start":{"line":35,"column":4},"end":{"line":35,"column":11}},"9":{"start":{"line":37,"column":4},"end":{"line":40,"column":7}},"10":{"start":{"line":44,"column":0},"end":{"line":44,"column":32}}},"fnMap":{"0":{"name":"authMiddleware","decl":{"start":{"line":13,"column":9},"end":{"line":13,"column":23}},"loc":{"start":{"line":13,"column":40},"end":{"line":42,"column":1}},"line":13}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":4},"end":{"line":23,"column":5}},"type":"if","locations":[{"start":{"line":18,"column":4},"end":{"line":23,"column":5}},{"start":{},"end":{}}],"line":18}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0},"f":{"0":0},"b":{"0":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\middlewares\\corsMiddleware.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\middlewares\\corsMiddleware.js","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":1,"column":28}},"1":{"start":{"line":4,"column":23},"end":{"line":4,"column":91}},"2":{"start":{"line":6,"column":20},"end":{"line":20,"column":1}},"3":{"start":{"line":22,"column":0},"end":{"line":22,"column":35}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":10},"end":{"line":7,"column":11}},"loc":{"start":{"line":7,"column":38},"end":{"line":16,"column":3}},"line":7}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":23},"end":{"line":4,"column":91}},"type":"binary-expr","locations":[{"start":{"line":4,"column":23},"end":{"line":4,"column":62}},{"start":{"line":4,"column":66},"end":{"line":4,"column":91}}],"line":4}},"s":{"0":0,"1":0,"2":0,"3":0},"f":{"0":0},"b":{"0":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\middlewares\\scopeMiddleware.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\middlewares\\scopeMiddleware.js","statementMap":{"0":{"start":{"line":6,"column":2},"end":{"line":15,"column":4}},"1":{"start":{"line":18,"column":0},"end":{"line":18,"column":33}}},"fnMap":{"0":{"name":"scopeMiddleware","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":24}},"loc":{"start":{"line":5,"column":36},"end":{"line":16,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":6,"column":9},"end":{"line":6,"column":10}},"loc":{"start":{"line":6,"column":29},"end":{"line":15,"column":3}},"line":6}},"branchMap":{},"s":{"0":0,"1":0},"f":{"0":0,"1":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\routers\\authRoutes.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\routers\\authRoutes.js","statementMap":{"0":{"start":{"line":1,"column":16},"end":{"line":1,"column":34}},"1":{"start":{"line":10,"column":17},"end":{"line":10,"column":33}},"2":{"start":{"line":13,"column":25},"end":{"line":13,"column":60}},"3":{"start":{"line":20,"column":2},"end":{"line":20,"column":76}},"4":{"start":{"line":20,"column":41},"end":{"line":20,"column":74}},"5":{"start":{"line":27,"column":2},"end":{"line":27,"column":70}},"6":{"start":{"line":27,"column":38},"end":{"line":27,"column":68}},"7":{"start":{"line":33,"column":2},"end":{"line":33,"column":72}},"8":{"start":{"line":33,"column":39},"end":{"line":33,"column":70}},"9":{"start":{"line":38,"column":2},"end":{"line":38,"column":57}},"10":{"start":{"line":38,"column":36},"end":{"line":38,"column":55}},"11":{"start":{"line":40,"column":2},"end":{"line":40,"column":16}},"12":{"start":{"line":43,"column":0},"end":{"line":43,"column":34}}},"fnMap":{"0":{"name":"createAuthRoutes","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":25}},"loc":{"start":{"line":9,"column":37},"end":{"line":41,"column":1}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":20,"column":27},"end":{"line":20,"column":28}},"loc":{"start":{"line":20,"column":41},"end":{"line":20,"column":74}},"line":20},"2":{"name":"(anonymous_2)","decl":{"start":{"line":27,"column":24},"end":{"line":27,"column":25}},"loc":{"start":{"line":27,"column":38},"end":{"line":27,"column":68}},"line":27},"3":{"name":"(anonymous_3)","decl":{"start":{"line":33,"column":25},"end":{"line":33,"column":26}},"loc":{"start":{"line":33,"column":39},"end":{"line":33,"column":70}},"line":33},"4":{"name":"(anonymous_4)","decl":{"start":{"line":38,"column":22},"end":{"line":38,"column":23}},"loc":{"start":{"line":38,"column":36},"end":{"line":38,"column":55}},"line":38}},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\routers\\userRoutes.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\api\\routers\\userRoutes.js","statementMap":{"0":{"start":{"line":1,"column":16},"end":{"line":1,"column":34}},"1":{"start":{"line":2,"column":23},"end":{"line":2,"column":63}},"2":{"start":{"line":11,"column":17},"end":{"line":11,"column":33}},"3":{"start":{"line":14,"column":25},"end":{"line":14,"column":60}},"4":{"start":{"line":20,"column":2},"end":{"line":20,"column":82}},"5":{"start":{"line":20,"column":50},"end":{"line":20,"column":80}},"6":{"start":{"line":27,"column":2},"end":{"line":27,"column":85}},"7":{"start":{"line":27,"column":50},"end":{"line":27,"column":83}},"8":{"start":{"line":33,"column":2},"end":{"line":33,"column":81}},"9":{"start":{"line":33,"column":48},"end":{"line":33,"column":79}},"10":{"start":{"line":39,"column":2},"end":{"line":39,"column":85}},"11":{"start":{"line":39,"column":51},"end":{"line":39,"column":83}},"12":{"start":{"line":44,"column":2},"end":{"line":44,"column":57}},"13":{"start":{"line":44,"column":36},"end":{"line":44,"column":55}},"14":{"start":{"line":46,"column":2},"end":{"line":46,"column":16}},"15":{"start":{"line":49,"column":0},"end":{"line":49,"column":34}}},"fnMap":{"0":{"name":"createUserRoutes","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":25}},"loc":{"start":{"line":10,"column":37},"end":{"line":47,"column":1}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":20,"column":36},"end":{"line":20,"column":37}},"loc":{"start":{"line":20,"column":50},"end":{"line":20,"column":80}},"line":20},"2":{"name":"(anonymous_2)","decl":{"start":{"line":27,"column":36},"end":{"line":27,"column":37}},"loc":{"start":{"line":27,"column":50},"end":{"line":27,"column":83}},"line":27},"3":{"name":"(anonymous_3)","decl":{"start":{"line":33,"column":34},"end":{"line":33,"column":35}},"loc":{"start":{"line":33,"column":48},"end":{"line":33,"column":79}},"line":33},"4":{"name":"(anonymous_4)","decl":{"start":{"line":39,"column":37},"end":{"line":39,"column":38}},"loc":{"start":{"line":39,"column":51},"end":{"line":39,"column":83}},"line":39},"5":{"name":"(anonymous_5)","decl":{"start":{"line":44,"column":22},"end":{"line":44,"column":23}},"loc":{"start":{"line":44,"column":36},"end":{"line":44,"column":55}},"line":44}},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\LoginUserCommand.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\LoginUserCommand.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":23}},"1":{"start":{"line":8,"column":4},"end":{"line":8,"column":29}},"2":{"start":{"line":12,"column":0},"end":{"line":12,"column":34}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":31},"end":{"line":9,"column":3}},"line":6}},"branchMap":{},"s":{"0":0,"1":0,"2":0},"f":{"0":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\LoginUserCommandHandler.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\LoginUserCommandHandler.js","statementMap":{"0":{"start":{"line":1,"column":15},"end":{"line":1,"column":34}},"1":{"start":{"line":2,"column":19},"end":{"line":2,"column":55}},"2":{"start":{"line":4,"column":19},"end":{"line":4,"column":35}},"3":{"start":{"line":12,"column":4},"end":{"line":12,"column":25}},"4":{"start":{"line":21,"column":32},"end":{"line":21,"column":39}},"5":{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},"6":{"start":{"line":25,"column":6},"end":{"line":25,"column":57}},"7":{"start":{"line":29,"column":17},"end":{"line":31,"column":6}},"8":{"start":{"line":33,"column":4},"end":{"line":35,"column":5}},"9":{"start":{"line":34,"column":6},"end":{"line":34,"column":51}},"10":{"start":{"line":38,"column":28},"end":{"line":38,"column":73}},"11":{"start":{"line":40,"column":4},"end":{"line":42,"column":5}},"12":{"start":{"line":41,"column":6},"end":{"line":41,"column":51}},"13":{"start":{"line":45,"column":18},"end":{"line":48,"column":6}},"14":{"start":{"line":51,"column":52},"end":{"line":51,"column":56}},"15":{"start":{"line":53,"column":4},"end":{"line":56,"column":6}},"16":{"start":{"line":60,"column":0},"end":{"line":60,"column":41}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":2},"end":{"line":11,"column":3}},"loc":{"start":{"line":11,"column":22},"end":{"line":13,"column":3}},"line":11},"1":{"name":"(anonymous_1)","decl":{"start":{"line":20,"column":2},"end":{"line":20,"column":3}},"loc":{"start":{"line":20,"column":24},"end":{"line":57,"column":3}},"line":20}},"branchMap":{"0":{"loc":{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},{"start":{},"end":{}}],"line":24},"1":{"loc":{"start":{"line":24,"column":8},"end":{"line":24,"column":27}},"type":"binary-expr","locations":[{"start":{"line":24,"column":8},"end":{"line":24,"column":14}},{"start":{"line":24,"column":18},"end":{"line":24,"column":27}}],"line":24},"2":{"loc":{"start":{"line":33,"column":4},"end":{"line":35,"column":5}},"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":35,"column":5}},{"start":{},"end":{}}],"line":33},"3":{"loc":{"start":{"line":40,"column":4},"end":{"line":42,"column":5}},"type":"if","locations":[{"start":{"line":40,"column":4},"end":{"line":42,"column":5}},{"start":{},"end":{}}],"line":40}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0},"f":{"0":0,"1":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\RegisterUserCommand.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\RegisterUserCommand.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":21}},"1":{"start":{"line":8,"column":4},"end":{"line":8,"column":23}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":29}},"3":{"start":{"line":13,"column":0},"end":{"line":13,"column":37}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":37},"end":{"line":10,"column":3}},"line":6}},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0},"f":{"0":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\RegisterUserCommandHandler.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\auth\\commands\\RegisterUserCommandHandler.js","statementMap":{"0":{"start":{"line":1,"column":15},"end":{"line":1,"column":34}},"1":{"start":{"line":2,"column":19},"end":{"line":2,"column":55}},"2":{"start":{"line":4,"column":19},"end":{"line":4,"column":35}},"3":{"start":{"line":12,"column":4},"end":{"line":12,"column":25}},"4":{"start":{"line":13,"column":4},"end":{"line":13,"column":37}},"5":{"start":{"line":22,"column":38},"end":{"line":22,"column":45}},"6":{"start":{"line":25,"column":4},"end":{"line":27,"column":5}},"7":{"start":{"line":26,"column":6},"end":{"line":26,"column":63}},"8":{"start":{"line":29,"column":4},"end":{"line":31,"column":5}},"9":{"start":{"line":30,"column":6},"end":{"line":30,"column":69}},"10":{"start":{"line":34,"column":23},"end":{"line":34,"column":51}},"11":{"start":{"line":35,"column":4},"end":{"line":37,"column":5}},"12":{"start":{"line":36,"column":6},"end":{"line":36,"column":46}},"13":{"start":{"line":40,"column":25},"end":{"line":42,"column":6}},"14":{"start":{"line":44,"column":4},"end":{"line":46,"column":5}},"15":{"start":{"line":45,"column":6},"end":{"line":45,"column":61}},"16":{"start":{"line":49,"column":27},"end":{"line":49,"column":58}},"17":{"start":{"line":52,"column":17},"end":{"line":58,"column":6}},"18":{"start":{"line":61,"column":4},"end":{"line":65,"column":5}},"19":{"start":{"line":62,"column":6},"end":{"line":64,"column":9}},"20":{"start":{"line":63,"column":8},"end":{"line":63,"column":70}},"21":{"start":{"line":68,"column":18},"end":{"line":71,"column":6}},"22":{"start":{"line":74,"column":52},"end":{"line":74,"column":56}},"23":{"start":{"line":76,"column":4},"end":{"line":79,"column":6}},"24":{"start":{"line":83,"column":0},"end":{"line":83,"column":44}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":2},"end":{"line":11,"column":3}},"loc":{"start":{"line":11,"column":36},"end":{"line":14,"column":3}},"line":11},"1":{"name":"(anonymous_1)","decl":{"start":{"line":21,"column":2},"end":{"line":21,"column":3}},"loc":{"start":{"line":21,"column":24},"end":{"line":80,"column":3}},"line":21},"2":{"name":"(anonymous_2)","decl":{"start":{"line":62,"column":60},"end":{"line":62,"column":61}},"loc":{"start":{"line":62,"column":67},"end":{"line":64,"column":7}},"line":62}},"branchMap":{"0":{"loc":{"start":{"line":25,"column":4},"end":{"line":27,"column":5}},"type":"if","locations":[{"start":{"line":25,"column":4},"end":{"line":27,"column":5}},{"start":{},"end":{}}],"line":25},"1":{"loc":{"start":{"line":25,"column":8},"end":{"line":25,"column":36}},"type":"binary-expr","locations":[{"start":{"line":25,"column":8},"end":{"line":25,"column":13}},{"start":{"line":25,"column":17},"end":{"line":25,"column":23}},{"start":{"line":25,"column":27},"end":{"line":25,"column":36}}],"line":25},"2":{"loc":{"start":{"line":29,"column":4},"end":{"line":31,"column":5}},"type":"if","locations":[{"start":{"line":29,"column":4},"end":{"line":31,"column":5}},{"start":{},"end":{}}],"line":29},"3":{"loc":{"start":{"line":35,"column":4},"end":{"line":37,"column":5}},"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":37,"column":5}},{"start":{},"end":{}}],"line":35},"4":{"loc":{"start":{"line":44,"column":4},"end":{"line":46,"column":5}},"type":"if","locations":[{"start":{"line":44,"column":4},"end":{"line":46,"column":5}},{"start":{},"end":{}}],"line":44},"5":{"loc":{"start":{"line":61,"column":4},"end":{"line":65,"column":5}},"type":"if","locations":[{"start":{"line":61,"column":4},"end":{"line":65,"column":5}},{"start":{},"end":{}}],"line":61}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0},"f":{"0":0,"1":0,"2":0},"b":{"0":[0,0],"1":[0,0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\services\\Container.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\services\\Container.js","statementMap":{"0":{"start":{"line":57,"column":0},"end":{"line":57,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":16},"end":{"line":15,"column":3}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":17,"column":2},"end":{"line":17,"column":3}},"loc":{"start":{"line":17,"column":50},"end":{"line":23,"column":3}},"line":17},"2":{"name":"(anonymous_2)","decl":{"start":{"line":25,"column":2},"end":{"line":25,"column":3}},"loc":{"start":{"line":25,"column":30},"end":{"line":45,"column":3}},"line":25},"3":{"name":"(anonymous_3)","decl":{"start":{"line":47,"column":2},"end":{"line":47,"column":3}},"loc":{"start":{"line":47,"column":16},"end":{"line":54,"column":3}},"line":47}},"branchMap":{"0":{"loc":{"start":{"line":17,"column":26},"end":{"line":17,"column":48}},"type":"default-arg","locations":[{"start":{"line":17,"column":37},"end":{"line":17,"column":48}}],"line":17},"1":{"loc":{"start":{"line":25,"column":16},"end":{"line":25,"column":28}},"type":"default-arg","locations":[{"start":{"line":25,"column":24},"end":{"line":25,"column":28}}],"line":25}},"s":{"0":1},"f":{"0":22,"1":22,"2":19,"3":9},"b":{"0":[1],"1":[17]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"6d069147677c6d63ea84f3a595b401d772672ea8"}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\services\\EmailService.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\services\\EmailService.js","statementMap":{"0":{"start":{"line":20,"column":4},"end":{"line":20,"column":47}},"1":{"start":{"line":26,"column":4},"end":{"line":26,"column":77}},"2":{"start":{"line":27,"column":4},"end":{"line":27,"column":16}},"3":{"start":{"line":31,"column":0},"end":{"line":31,"column":30}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":2},"end":{"line":8,"column":3}},"loc":{"start":{"line":8,"column":16},"end":{"line":21,"column":3}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":23,"column":2},"end":{"line":23,"column":3}},"loc":{"start":{"line":23,"column":46},"end":{"line":28,"column":3}},"line":23}},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0},"f":{"0":0,"1":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\services\\JwtService.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\services\\JwtService.js","statementMap":{"0":{"start":{"line":1,"column":12},"end":{"line":1,"column":35}},"1":{"start":{"line":9,"column":4},"end":{"line":9,"column":71}},"2":{"start":{"line":10,"column":4},"end":{"line":10,"column":56}},"3":{"start":{"line":11,"column":4},"end":{"line":11,"column":35}},"4":{"start":{"line":20,"column":4},"end":{"line":20,"column":73}},"5":{"start":{"line":29,"column":4},"end":{"line":33,"column":5}},"6":{"start":{"line":30,"column":6},"end":{"line":30,"column":44}},"7":{"start":{"line":32,"column":6},"end":{"line":32,"column":50}},"8":{"start":{"line":42,"column":4},"end":{"line":44,"column":5}},"9":{"start":{"line":43,"column":6},"end":{"line":43,"column":18}},"10":{"start":{"line":46,"column":18},"end":{"line":46,"column":39}},"11":{"start":{"line":48,"column":4},"end":{"line":50,"column":5}},"12":{"start":{"line":49,"column":6},"end":{"line":49,"column":18}},"13":{"start":{"line":52,"column":4},"end":{"line":52,"column":20}},"14":{"start":{"line":61,"column":4},"end":{"line":63,"column":5}},"15":{"start":{"line":62,"column":6},"end":{"line":62,"column":18}},"16":{"start":{"line":65,"column":4},"end":{"line":65,"column":36}},"17":{"start":{"line":73,"column":25},"end":{"line":73,"column":62}},"18":{"start":{"line":75,"column":4},"end":{"line":81,"column":6}},"19":{"start":{"line":91,"column":22},"end":{"line":91,"column":36}},"20":{"start":{"line":93,"column":4},"end":{"line":99,"column":5}},"21":{"start":{"line":94,"column":6},"end":{"line":94,"column":50}},"22":{"start":{"line":95,"column":11},"end":{"line":99,"column":5}},"23":{"start":{"line":96,"column":6},"end":{"line":96,"column":55}},"24":{"start":{"line":97,"column":11},"end":{"line":99,"column":5}},"25":{"start":{"line":98,"column":6},"end":{"line":98,"column":45}},"26":{"start":{"line":102,"column":4},"end":{"line":102,"column":26}},"27":{"start":{"line":110,"column":4},"end":{"line":110,"column":27}},"28":{"start":{"line":114,"column":0},"end":{"line":114,"column":28}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":2},"end":{"line":8,"column":3}},"loc":{"start":{"line":8,"column":16},"end":{"line":12,"column":3}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":19,"column":2},"end":{"line":19,"column":3}},"loc":{"start":{"line":19,"column":25},"end":{"line":21,"column":3}},"line":19},"2":{"name":"(anonymous_2)","decl":{"start":{"line":28,"column":2},"end":{"line":28,"column":3}},"loc":{"start":{"line":28,"column":21},"end":{"line":34,"column":3}},"line":28},"3":{"name":"(anonymous_3)","decl":{"start":{"line":41,"column":2},"end":{"line":41,"column":3}},"loc":{"start":{"line":41,"column":37},"end":{"line":53,"column":3}},"line":41},"4":{"name":"(anonymous_4)","decl":{"start":{"line":60,"column":2},"end":{"line":60,"column":3}},"loc":{"start":{"line":60,"column":35},"end":{"line":66,"column":3}},"line":60},"5":{"name":"(anonymous_5)","decl":{"start":{"line":72,"column":2},"end":{"line":72,"column":3}},"loc":{"start":{"line":72,"column":21},"end":{"line":82,"column":3}},"line":72},"6":{"name":"(anonymous_6)","decl":{"start":{"line":89,"column":2},"end":{"line":89,"column":3}},"loc":{"start":{"line":89,"column":15},"end":{"line":103,"column":3}},"line":89},"7":{"name":"(anonymous_7)","decl":{"start":{"line":109,"column":2},"end":{"line":109,"column":3}},"loc":{"start":{"line":109,"column":18},"end":{"line":111,"column":3}},"line":109}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":18},"end":{"line":9,"column":70}},"type":"binary-expr","locations":[{"start":{"line":9,"column":18},"end":{"line":9,"column":40}},{"start":{"line":9,"column":44},"end":{"line":9,"column":70}}],"line":9},"1":{"loc":{"start":{"line":10,"column":21},"end":{"line":10,"column":55}},"type":"binary-expr","locations":[{"start":{"line":10,"column":21},"end":{"line":10,"column":47}},{"start":{"line":10,"column":51},"end":{"line":10,"column":55}}],"line":10},"2":{"loc":{"start":{"line":42,"column":4},"end":{"line":44,"column":5}},"type":"if","locations":[{"start":{"line":42,"column":4},"end":{"line":44,"column":5}},{"start":{},"end":{}}],"line":42},"3":{"loc":{"start":{"line":48,"column":4},"end":{"line":50,"column":5}},"type":"if","locations":[{"start":{"line":48,"column":4},"end":{"line":50,"column":5}},{"start":{},"end":{}}],"line":48},"4":{"loc":{"start":{"line":48,"column":8},"end":{"line":48,"column":51}},"type":"binary-expr","locations":[{"start":{"line":48,"column":8},"end":{"line":48,"column":26}},{"start":{"line":48,"column":30},"end":{"line":48,"column":51}}],"line":48},"5":{"loc":{"start":{"line":61,"column":4},"end":{"line":63,"column":5}},"type":"if","locations":[{"start":{"line":61,"column":4},"end":{"line":63,"column":5}},{"start":{},"end":{}}],"line":61},"6":{"loc":{"start":{"line":61,"column":8},"end":{"line":61,"column":45}},"type":"binary-expr","locations":[{"start":{"line":61,"column":8},"end":{"line":61,"column":16}},{"start":{"line":61,"column":20},"end":{"line":61,"column":45}}],"line":61},"7":{"loc":{"start":{"line":93,"column":4},"end":{"line":99,"column":5}},"type":"if","locations":[{"start":{"line":93,"column":4},"end":{"line":99,"column":5}},{"start":{"line":95,"column":11},"end":{"line":99,"column":5}}],"line":93},"8":{"loc":{"start":{"line":95,"column":11},"end":{"line":99,"column":5}},"type":"if","locations":[{"start":{"line":95,"column":11},"end":{"line":99,"column":5}},{"start":{"line":97,"column":11},"end":{"line":99,"column":5}}],"line":95},"9":{"loc":{"start":{"line":97,"column":11},"end":{"line":99,"column":5}},"type":"if","locations":[{"start":{"line":97,"column":11},"end":{"line":99,"column":5}},{"start":{},"end":{}}],"line":97}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\commands\\UpdateUserProfileCommand.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\commands\\UpdateUserProfileCommand.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":25}},"1":{"start":{"line":8,"column":4},"end":{"line":8,"column":21}},"2":{"start":{"line":12,"column":0},"end":{"line":12,"column":42}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":28},"end":{"line":9,"column":3}},"line":6}},"branchMap":{},"s":{"0":0,"1":0,"2":0},"f":{"0":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\commands\\UpdateUserProfileCommandHandler.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\commands\\UpdateUserProfileCommandHandler.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":25}},"1":{"start":{"line":16,"column":29},"end":{"line":16,"column":36}},"2":{"start":{"line":18,"column":4},"end":{"line":20,"column":5}},"3":{"start":{"line":19,"column":6},"end":{"line":19,"column":42}},"4":{"start":{"line":22,"column":17},"end":{"line":25,"column":6}},"5":{"start":{"line":27,"column":49},"end":{"line":27,"column":53}},"6":{"start":{"line":28,"column":4},"end":{"line":28,"column":31}},"7":{"start":{"line":32,"column":0},"end":{"line":32,"column":49}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":22},"end":{"line":8,"column":3}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":2},"end":{"line":15,"column":3}},"loc":{"start":{"line":15,"column":24},"end":{"line":29,"column":3}},"line":15}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":4},"end":{"line":20,"column":5}},"type":"if","locations":[{"start":{"line":18,"column":4},"end":{"line":20,"column":5}},{"start":{},"end":{}}],"line":18}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0},"f":{"0":0,"1":0},"b":{"0":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetAllUsersQuery.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetAllUsersQuery.js","statementMap":{"0":{"start":{"line":11,"column":0},"end":{"line":11,"column":34}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":16},"end":{"line":8,"column":3}},"line":6}},"branchMap":{},"s":{"0":0},"f":{"0":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetAllUsersQueryHandler.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetAllUsersQueryHandler.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":25}},"1":{"start":{"line":16,"column":18},"end":{"line":18,"column":6}},"2":{"start":{"line":21,"column":4},"end":{"line":21,"column":54}},"3":{"start":{"line":21,"column":48},"end":{"line":21,"column":52}},"4":{"start":{"line":25,"column":0},"end":{"line":25,"column":41}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":22},"end":{"line":8,"column":3}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":2},"end":{"line":15,"column":3}},"loc":{"start":{"line":15,"column":22},"end":{"line":22,"column":3}},"line":15},"2":{"name":"(anonymous_2)","decl":{"start":{"line":21,"column":21},"end":{"line":21,"column":22}},"loc":{"start":{"line":21,"column":48},"end":{"line":21,"column":52}},"line":21}},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0,"4":0},"f":{"0":0,"1":0,"2":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetMeQuery.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetMeQuery.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":25}},"1":{"start":{"line":11,"column":0},"end":{"line":11,"column":28}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":22},"end":{"line":8,"column":3}},"line":6}},"branchMap":{},"s":{"0":0,"1":0},"f":{"0":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetMeQueryHandler.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetMeQueryHandler.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":25}},"1":{"start":{"line":16,"column":23},"end":{"line":16,"column":28}},"2":{"start":{"line":18,"column":17},"end":{"line":20,"column":6}},"3":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"4":{"start":{"line":23,"column":6},"end":{"line":23,"column":40}},"5":{"start":{"line":26,"column":49},"end":{"line":26,"column":53}},"6":{"start":{"line":27,"column":4},"end":{"line":27,"column":31}},"7":{"start":{"line":31,"column":0},"end":{"line":31,"column":35}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":22},"end":{"line":8,"column":3}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":2},"end":{"line":15,"column":3}},"loc":{"start":{"line":15,"column":22},"end":{"line":28,"column":3}},"line":15}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},{"start":{},"end":{}}],"line":22}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0},"f":{"0":0,"1":0},"b":{"0":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetUserByIdQuery.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetUserByIdQuery.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":25}},"1":{"start":{"line":11,"column":0},"end":{"line":11,"column":34}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":22},"end":{"line":8,"column":3}},"line":6}},"branchMap":{},"s":{"0":0,"1":0},"f":{"0":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetUserByIdQueryHandler.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\application\\user\\queries\\GetUserByIdQueryHandler.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":25}},"1":{"start":{"line":16,"column":23},"end":{"line":16,"column":28}},"2":{"start":{"line":18,"column":4},"end":{"line":20,"column":5}},"3":{"start":{"line":19,"column":6},"end":{"line":19,"column":51}},"4":{"start":{"line":22,"column":17},"end":{"line":24,"column":6}},"5":{"start":{"line":26,"column":4},"end":{"line":28,"column":5}},"6":{"start":{"line":27,"column":6},"end":{"line":27,"column":40}},"7":{"start":{"line":30,"column":49},"end":{"line":30,"column":53}},"8":{"start":{"line":31,"column":4},"end":{"line":31,"column":31}},"9":{"start":{"line":35,"column":0},"end":{"line":35,"column":41}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":22},"end":{"line":8,"column":3}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":2},"end":{"line":15,"column":3}},"loc":{"start":{"line":15,"column":22},"end":{"line":32,"column":3}},"line":15}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":4},"end":{"line":20,"column":5}},"type":"if","locations":[{"start":{"line":18,"column":4},"end":{"line":20,"column":5}},{"start":{},"end":{}}],"line":18},"1":{"loc":{"start":{"line":18,"column":8},"end":{"line":18,"column":32}},"type":"binary-expr","locations":[{"start":{"line":18,"column":8},"end":{"line":18,"column":15}},{"start":{"line":18,"column":19},"end":{"line":18,"column":32}}],"line":18},"2":{"loc":{"start":{"line":26,"column":4},"end":{"line":28,"column":5}},"type":"if","locations":[{"start":{"line":26,"column":4},"end":{"line":28,"column":5}},{"start":{},"end":{}}],"line":26}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"f":{"0":0,"1":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\domain\\irepositories\\IUserRepository.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\domain\\irepositories\\IUserRepository.js","statementMap":{"0":{"start":{"line":12,"column":4},"end":{"line":12,"column":61}},"1":{"start":{"line":21,"column":4},"end":{"line":21,"column":64}},"2":{"start":{"line":29,"column":4},"end":{"line":29,"column":60}},"3":{"start":{"line":38,"column":4},"end":{"line":38,"column":59}},"4":{"start":{"line":47,"column":4},"end":{"line":47,"column":59}},"5":{"start":{"line":56,"column":4},"end":{"line":56,"column":59}},"6":{"start":{"line":60,"column":0},"end":{"line":60,"column":33}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":2},"end":{"line":11,"column":3}},"loc":{"start":{"line":11,"column":21},"end":{"line":13,"column":3}},"line":11},"1":{"name":"(anonymous_1)","decl":{"start":{"line":20,"column":2},"end":{"line":20,"column":3}},"loc":{"start":{"line":20,"column":27},"end":{"line":22,"column":3}},"line":20},"2":{"name":"(anonymous_2)","decl":{"start":{"line":28,"column":2},"end":{"line":28,"column":3}},"loc":{"start":{"line":28,"column":18},"end":{"line":30,"column":3}},"line":28},"3":{"name":"(anonymous_3)","decl":{"start":{"line":37,"column":2},"end":{"line":37,"column":3}},"loc":{"start":{"line":37,"column":21},"end":{"line":39,"column":3}},"line":37},"4":{"name":"(anonymous_4)","decl":{"start":{"line":46,"column":2},"end":{"line":46,"column":3}},"loc":{"start":{"line":46,"column":21},"end":{"line":48,"column":3}},"line":46},"5":{"name":"(anonymous_5)","decl":{"start":{"line":55,"column":2},"end":{"line":55,"column":3}},"loc":{"start":{"line":55,"column":19},"end":{"line":57,"column":3}},"line":55}},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0},"b":{}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\domain\\models\\User.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\domain\\models\\User.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":17}},"1":{"start":{"line":8,"column":4},"end":{"line":8,"column":21}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":23}},"3":{"start":{"line":10,"column":4},"end":{"line":10,"column":29}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":31}},"6":{"start":{"line":21,"column":38},"end":{"line":21,"column":42}},"7":{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},"8":{"start":{"line":25,"column":6},"end":{"line":25,"column":47}},"9":{"start":{"line":28,"column":4},"end":{"line":30,"column":5}},"10":{"start":{"line":29,"column":6},"end":{"line":29,"column":49}},"11":{"start":{"line":32,"column":4},"end":{"line":34,"column":5}},"12":{"start":{"line":33,"column":6},"end":{"line":33,"column":69}},"13":{"start":{"line":36,"column":4},"end":{"line":36,"column":94}},"14":{"start":{"line":45,"column":23},"end":{"line":45,"column":51}},"15":{"start":{"line":46,"column":4},"end":{"line":46,"column":34}},"16":{"start":{"line":54,"column":4},"end":{"line":56,"column":5}},"17":{"start":{"line":55,"column":6},"end":{"line":55,"column":47}},"18":{"start":{"line":57,"column":4},"end":{"line":57,"column":31}},"19":{"start":{"line":58,"column":4},"end":{"line":58,"column":32}},"20":{"start":{"line":66,"column":4},"end":{"line":72,"column":6}},"21":{"start":{"line":76,"column":0},"end":{"line":76,"column":22}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":63},"end":{"line":13,"column":3}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":20,"column":2},"end":{"line":20,"column":3}},"loc":{"start":{"line":20,"column":22},"end":{"line":37,"column":3}},"line":20},"2":{"name":"(anonymous_2)","decl":{"start":{"line":44,"column":2},"end":{"line":44,"column":3}},"loc":{"start":{"line":44,"column":29},"end":{"line":47,"column":3}},"line":44},"3":{"name":"(anonymous_3)","decl":{"start":{"line":53,"column":2},"end":{"line":53,"column":3}},"loc":{"start":{"line":53,"column":22},"end":{"line":59,"column":3}},"line":53},"4":{"name":"(anonymous_4)","decl":{"start":{"line":65,"column":2},"end":{"line":65,"column":3}},"loc":{"start":{"line":65,"column":17},"end":{"line":73,"column":3}},"line":65}},"branchMap":{"0":{"loc":{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},{"start":{},"end":{}}],"line":24},"1":{"loc":{"start":{"line":24,"column":8},"end":{"line":24,"column":41}},"type":"binary-expr","locations":[{"start":{"line":24,"column":8},"end":{"line":24,"column":13}},{"start":{"line":24,"column":17},"end":{"line":24,"column":41}}],"line":24},"2":{"loc":{"start":{"line":28,"column":4},"end":{"line":30,"column":5}},"type":"if","locations":[{"start":{"line":28,"column":4},"end":{"line":30,"column":5}},{"start":{},"end":{}}],"line":28},"3":{"loc":{"start":{"line":28,"column":8},"end":{"line":28,"column":43}},"type":"binary-expr","locations":[{"start":{"line":28,"column":8},"end":{"line":28,"column":14}},{"start":{"line":28,"column":18},"end":{"line":28,"column":43}}],"line":28},"4":{"loc":{"start":{"line":32,"column":4},"end":{"line":34,"column":5}},"type":"if","locations":[{"start":{"line":32,"column":4},"end":{"line":34,"column":5}},{"start":{},"end":{}}],"line":32},"5":{"loc":{"start":{"line":32,"column":8},"end":{"line":32,"column":40}},"type":"binary-expr","locations":[{"start":{"line":32,"column":8},"end":{"line":32,"column":17}},{"start":{"line":32,"column":21},"end":{"line":32,"column":40}}],"line":32},"6":{"loc":{"start":{"line":54,"column":4},"end":{"line":56,"column":5}},"type":"if","locations":[{"start":{"line":54,"column":4},"end":{"line":56,"column":5}},{"start":{},"end":{}}],"line":54},"7":{"loc":{"start":{"line":54,"column":8},"end":{"line":54,"column":47}},"type":"binary-expr","locations":[{"start":{"line":54,"column":8},"end":{"line":54,"column":16}},{"start":{"line":54,"column":20},"end":{"line":54,"column":47}}],"line":54}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\infrastructure\\db\\DatabaseConnection.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\infrastructure\\db\\DatabaseConnection.js","statementMap":{"0":{"start":{"line":1,"column":25},"end":{"line":1,"column":50}},"1":{"start":{"line":9,"column":4},"end":{"line":9,"column":23}},"2":{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},"3":{"start":{"line":17,"column":6},"end":{"line":17,"column":57}},"4":{"start":{"line":18,"column":6},"end":{"line":18,"column":13}},"5":{"start":{"line":21,"column":4},"end":{"line":31,"column":5}},"6":{"start":{"line":22,"column":6},"end":{"line":24,"column":9}},"7":{"start":{"line":26,"column":6},"end":{"line":26,"column":35}},"8":{"start":{"line":27,"column":6},"end":{"line":27,"column":54}},"9":{"start":{"line":29,"column":6},"end":{"line":29,"column":63}},"10":{"start":{"line":30,"column":6},"end":{"line":30,"column":18}},"11":{"start":{"line":39,"column":4},"end":{"line":41,"column":5}},"12":{"start":{"line":40,"column":6},"end":{"line":40,"column":71}},"13":{"start":{"line":42,"column":4},"end":{"line":42,"column":23}},"14":{"start":{"line":49,"column":4},"end":{"line":53,"column":5}},"15":{"start":{"line":50,"column":6},"end":{"line":50,"column":38}},"16":{"start":{"line":51,"column":6},"end":{"line":51,"column":44}},"17":{"start":{"line":52,"column":6},"end":{"line":52,"column":25}},"18":{"start":{"line":61,"column":4},"end":{"line":67,"column":5}},"19":{"start":{"line":62,"column":6},"end":{"line":62,"column":44}},"20":{"start":{"line":63,"column":6},"end":{"line":63,"column":18}},"21":{"start":{"line":65,"column":6},"end":{"line":65,"column":62}},"22":{"start":{"line":66,"column":6},"end":{"line":66,"column":19}},"23":{"start":{"line":72,"column":27},"end":{"line":72,"column":51}},"24":{"start":{"line":74,"column":0},"end":{"line":74,"column":36}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":2},"end":{"line":8,"column":3}},"loc":{"start":{"line":8,"column":16},"end":{"line":10,"column":3}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":2},"end":{"line":15,"column":3}},"loc":{"start":{"line":15,"column":18},"end":{"line":32,"column":3}},"line":15},"2":{"name":"(anonymous_2)","decl":{"start":{"line":38,"column":2},"end":{"line":38,"column":3}},"loc":{"start":{"line":38,"column":14},"end":{"line":43,"column":3}},"line":38},"3":{"name":"(anonymous_3)","decl":{"start":{"line":48,"column":2},"end":{"line":48,"column":3}},"loc":{"start":{"line":48,"column":21},"end":{"line":54,"column":3}},"line":48},"4":{"name":"(anonymous_4)","decl":{"start":{"line":60,"column":2},"end":{"line":60,"column":3}},"loc":{"start":{"line":60,"column":22},"end":{"line":68,"column":3}},"line":60}},"branchMap":{"0":{"loc":{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},{"start":{},"end":{}}],"line":16},"1":{"loc":{"start":{"line":23,"column":13},"end":{"line":23,"column":92}},"type":"cond-expr","locations":[{"start":{"line":23,"column":54},"end":{"line":23,"column":80}},{"start":{"line":23,"column":83},"end":{"line":23,"column":92}}],"line":23},"2":{"loc":{"start":{"line":39,"column":4},"end":{"line":41,"column":5}},"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":41,"column":5}},{"start":{},"end":{}}],"line":39},"3":{"loc":{"start":{"line":49,"column":4},"end":{"line":53,"column":5}},"type":"if","locations":[{"start":{"line":49,"column":4},"end":{"line":53,"column":5}},{"start":{},"end":{}}],"line":49}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0]}}
-,"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\infrastructure\\repositories\\UserRepository.js": {"path":"D:\\munka\\Egyetem\\25_26_II\\GKNB_MSTM071\\Backend\\negyedik gyakorlat\\src\\infrastructure\\repositories\\UserRepository.js","statementMap":{"0":{"start":{"line":1,"column":24},"end":{"line":1,"column":77}},"1":{"start":{"line":2,"column":13},"end":{"line":2,"column":48}},"2":{"start":{"line":10,"column":4},"end":{"line":10,"column":12}},"3":{"start":{"line":11,"column":4},"end":{"line":11,"column":25}},"4":{"start":{"line":20,"column":21},"end":{"line":22,"column":6}},"5":{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},"6":{"start":{"line":25,"column":6},"end":{"line":25,"column":18}},"7":{"start":{"line":28,"column":4},"end":{"line":28,"column":36}},"8":{"start":{"line":37,"column":21},"end":{"line":39,"column":6}},"9":{"start":{"line":41,"column":4},"end":{"line":43,"column":5}},"10":{"start":{"line":42,"column":6},"end":{"line":42,"column":18}},"11":{"start":{"line":45,"column":4},"end":{"line":45,"column":36}},"12":{"start":{"line":53,"column":22},"end":{"line":55,"column":6}},"13":{"start":{"line":57,"column":4},"end":{"line":57,"column":63}},"14":{"start":{"line":57,"column":37},"end":{"line":57,"column":61}},"15":{"start":{"line":66,"column":21},"end":{"line":72,"column":6}},"16":{"start":{"line":74,"column":4},"end":{"line":74,"column":36}},"17":{"start":{"line":83,"column":21},"end":{"line":91,"column":6}},"18":{"start":{"line":93,"column":4},"end":{"line":93,"column":36}},"19":{"start":{"line":102,"column":4},"end":{"line":109,"column":5}},"20":{"start":{"line":103,"column":6},"end":{"line":105,"column":9}},"21":{"start":{"line":106,"column":6},"end":{"line":106,"column":18}},"22":{"start":{"line":108,"column":6},"end":{"line":108,"column":19}},"23":{"start":{"line":119,"column":4},"end":{"line":126,"column":6}},"24":{"start":{"line":130,"column":0},"end":{"line":130,"column":32}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":2},"end":{"line":9,"column":3}},"loc":{"start":{"line":9,"column":22},"end":{"line":12,"column":3}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":19,"column":2},"end":{"line":19,"column":3}},"loc":{"start":{"line":19,"column":21},"end":{"line":29,"column":3}},"line":19},"2":{"name":"(anonymous_2)","decl":{"start":{"line":36,"column":2},"end":{"line":36,"column":3}},"loc":{"start":{"line":36,"column":27},"end":{"line":46,"column":3}},"line":36},"3":{"name":"(anonymous_3)","decl":{"start":{"line":52,"column":2},"end":{"line":52,"column":3}},"loc":{"start":{"line":52,"column":18},"end":{"line":58,"column":3}},"line":52},"4":{"name":"(anonymous_4)","decl":{"start":{"line":57,"column":25},"end":{"line":57,"column":26}},"loc":{"start":{"line":57,"column":37},"end":{"line":57,"column":61}},"line":57},"5":{"name":"(anonymous_5)","decl":{"start":{"line":65,"column":2},"end":{"line":65,"column":3}},"loc":{"start":{"line":65,"column":21},"end":{"line":75,"column":3}},"line":65},"6":{"name":"(anonymous_6)","decl":{"start":{"line":82,"column":2},"end":{"line":82,"column":3}},"loc":{"start":{"line":82,"column":21},"end":{"line":94,"column":3}},"line":82},"7":{"name":"(anonymous_7)","decl":{"start":{"line":101,"column":2},"end":{"line":101,"column":3}},"loc":{"start":{"line":101,"column":19},"end":{"line":110,"column":3}},"line":101},"8":{"name":"(anonymous_8)","decl":{"start":{"line":118,"column":2},"end":{"line":118,"column":3}},"loc":{"start":{"line":118,"column":22},"end":{"line":127,"column":3}},"line":118}},"branchMap":{"0":{"loc":{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},{"start":{},"end":{}}],"line":24},"1":{"loc":{"start":{"line":41,"column":4},"end":{"line":43,"column":5}},"type":"if","locations":[{"start":{"line":41,"column":4},"end":{"line":43,"column":5}},{"start":{},"end":{}}],"line":41}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0},"b":{"0":[0,0],"1":[0,0]}}
-}
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/AuthController.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/AuthController.js.html
deleted file mode 100644
index 83ccbfa..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/AuthController.js.html
+++ /dev/null
@@ -1,394 +0,0 @@
-
-
-
-
-
- Code coverage report for api/controllers/AuthController.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/26
-
-
-
-
- 0%
- Branches
- 0/10
-
-
-
-
- 0%
- Functions
- 0/4
-
-
-
-
- 0%
- Lines
- 0/26
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const RegisterUserCommand = require('../../application/auth/commands/RegisterUserCommand');
-const LoginUserCommand = require('../../application/auth/commands/LoginUserCommand');
-
-/**
- * Auth Controller
- * Authentication endpoints using CQRS Commands with cookie-based JWT
- */
-class AuthController {
- co nstructor(registerUserCommandHandler, loginUserCommandHandler, jwtService) {
- this.registerUserCommandHandler = registerUserCommandHandler;
- this.loginUserCommandHandler = loginUserCommandHandler;
- this.jwtService = jwtService;
- }
-
- /**
- * POST /api/auth/register - User regisztráció
- */
- as ync register(req, res) {
- try {
- const { name, email, password } = req.body;
-
- const command = new RegisterUserCommand(name, email, password);
- const result = await this.registerUserCommandHandler.handle(command);
-
- // Set JWT token in httpOnly cookie
- res.cookie(
- this.jwtService.getCookieName(),
- result.token,
- this.jwtService.getCookieOptions()
- );
-
- res.status(201).json({
- message: 'User registered successfully',
- data: {
- user: result.user
- }
- });
- } catch (error) {
- // Validációs hibák -> 400
- const status = error.message.includes('required') ||
- error.message.includes('already exists') ||
- error.message.includes('Invalid') ||
- error.message.includes('must be') ? 400 : 500;
-
- res.status(status).json({ error: error.message });
- }
- }
-
- /**
- * POST /api/auth/login - User bejelentkezés
- */
- as ync login(req, res) {
- try {
- const { email, password } = req.body;
-
- const command = new LoginUserCommand(email, password);
- const result = await this.loginUserCommandHandler.handle(command);
-
- // Set JWT token in httpOnly cookie
- res.cookie(
- this.jwtService.getCookieName(),
- result.token,
- this.jwtService.getCookieOptions()
- );
-
- res.status(200).json({
- message: 'Login successful',
- data: {
- user: result.user
- }
- });
- } catch (error) {
- // Validációs vagy auth hibák -> 401
- const status = error.message.includes('Invalid') ||
- error.message.includes('required') ? 401 : 500;
-
- res.status(status).json({ error: error.message });
- }
- }
-
- /**
- * POST /api/auth/logout - User kijelentkezés
- */
- as ync logout(req, res) {
- try {
- // Clear the auth cookie
- res.clearCookie(this.jwtService.getCookieName(), {
- httpOnly: true,
- secure: process.env.NODE_ENV === 'production',
- sameSite: 'strict',
- path: '/'
- });
-
- res.status(200).json({
- message: 'Logout successful'
- });
- } catch (error) {
- res.status(500).json({ error: error.message });
- }
- }
-}
-
-module.exports = AuthController;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/UserController.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/UserController.js.html
deleted file mode 100644
index 45dbf13..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/UserController.js.html
+++ /dev/null
@@ -1,397 +0,0 @@
-
-
-
-
-
- Code coverage report for api/controllers/UserController.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/39
-
-
-
-
- 0%
- Branches
- 0/8
-
-
-
-
- 0%
- Functions
- 0/5
-
-
-
-
- 0%
- Lines
- 0/39
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const GetMeQuery = require('../../application/user/queries/GetMeQuery');
-const GetAllUsersQuery = require('../../application/user/queries/GetAllUsersQuery');
-const GetUserByIdQuery = require('../../application/user/queries/GetUserByIdQuery');
-const UpdateUserProfileCommand = require('../../application/user/commands/UpdateUserProfileCommand');
-
-/**
- * User Controller
- * User-related endpoints using CQRS pattern (protected by JWT)
- */
-class UserController {
- co nstructor(getMeQueryHandler, getAllUsersQueryHandler, getUserByIdQueryHandler, updateUserProfileCommandHandler) {
- this.getMeQueryHandler = getMeQueryHandler;
- this.getAllUsersQueryHandler = getAllUsersQueryHandler;
- this.getUserByIdQueryHandler = getUserByIdQueryHandler;
- this.updateUserProfileCommandHandler = updateUserProfileCommandHandler;
- }
-
- /**
- * GET /api/users/me - Bejelentkezett user adatai (protected)
- */
- as ync getMe(req, res) {
- try {
- // req.user-t az authMiddleware tölti ki a JWT-ből
- const userId = req.user.userId;
-
- const query = new GetMeQuery(userId);
- const user = await this.getMeQueryHandler.handle(query);
-
- res.status(200).json({
- message: 'User retrieved successfully',
- data: user
- });
- } catch (error) {
- const status = error.message.includes('not found') ? 404 : 500;
- res.status(status).json({ error: error.message });
- }
- }
-
- /**
- * GET /api/users - Összes user lekérése (protected)
- */
- as ync getAll(req, res) {
- try {
- const query = new GetAllUsersQuery();
- const users = await this.getAllUsersQueryHandler.handle(query);
-
- res.status(200).json({
- message: 'Users retrieved successfully',
- data: users,
- count: users.length
- });
- } catch (error) {
- res.status(500).json({ error: error.message });
- }
- }
-
- /**
- * GET /api/users/:id - User lekérése ID alapján (protected)
- */
- as ync getById(req, res) {
- try {
- const { id } = req.params;
- const userId = parseInt(id);
-
- if (isNaN(userId)) {
- return res.status(400).json({ error: 'Invalid user ID' });
- }
-
- const query = new GetUserByIdQuery(userId);
- const user = await this.getUserByIdQueryHandler.handle(query);
-
- res.status(200).json({
- message: 'User retrieved successfully',
- data: user
- });
- } catch (error) {
- const status = error.message.includes('not found') ? 404 : 500;
- res.status(status).json({ error: error.message });
- }
- }
-
- /**
- * PUT /api/users/me - User profil frissítése (protected)
- */
- as ync updateMe(req, res) {
- try {
- const userId = req.user.userId;
- const { name } = req.body;
-
- const command = new UpdateUserProfileCommand(userId, name);
- const user = await this.updateUserProfileCommandHandler.handle(command);
-
- res.status(200).json({
- message: 'Profile updated successfully',
- data: user
- });
- } catch (error) {
- const status = error.message.includes('required') ? 400 : 500;
- res.status(status).json({ error: error.message });
- }
- }
-}
-
-module.exports = UserController;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/index.html
deleted file mode 100644
index 24b2429..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/controllers/index.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
- Code coverage report for api/controllers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/65
-
-
-
-
- 0%
- Branches
- 0/18
-
-
-
-
- 0%
- Functions
- 0/9
-
-
-
-
- 0%
- Lines
- 0/65
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- AuthController.js
-
-
-
- 0%
- 0/26
- 0%
- 0/10
- 0%
- 0/4
- 0%
- 0/26
-
-
-
- UserController.js
-
-
-
- 0%
- 0/39
- 0%
- 0/8
- 0%
- 0/5
- 0%
- 0/39
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/authMiddleware.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/authMiddleware.js.html
deleted file mode 100644
index 942bdea..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/authMiddleware.js.html
+++ /dev/null
@@ -1,217 +0,0 @@
-
-
-
-
-
- Code coverage report for api/middlewares/authMiddleware.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/11
-
-
-
-
- 0%
- Branches
- 0/2
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/11
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const JwtService = require('../../application/services/JwtService');
-
-const jwtService = new JwtService();
-
-/**
- * Authentication Middleware - JWT token ellenőrzés (Cookie-based)
- *
- * Ezt a middleware-t használd protected route-okon!
- *
- * Példa használat:
- * router.get('/me', authMiddleware, userController.getMe);
- */
-function authMiddleware( req, res, next) {
- try {
- // 1. Token kinyerése cookieból
- const token = jwtService.extractTokenFromCookies(req.cookies);
-
- if (!token) {
- return res.status(401).json({
- error: 'Authentication required',
- message: 'No token provided in cookies'
- });
- }
-
- // 2. Token verifikálása
- const decoded = jwtService.verifyToken(token);
-
- // 3. User adatok elhelyezése req.user-ben (controller-ek használhatják)
- req.user = {
- userId: decoded.userId,
- email: decoded.email
- };
-
- // 4. Folytatás
- next();
- } catch (error) {
- return res.status(401).json({
- error: 'Authentication failed',
- message: error.message
- });
- }
-}
-
-module.exports = authMiddleware;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/corsMiddleware.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/corsMiddleware.js.html
deleted file mode 100644
index fc33282..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/corsMiddleware.js.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
-
-
- Code coverage report for api/middlewares/corsMiddleware.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/4
-
-
-
-
- 0%
- Branches
- 0/2
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/4
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const cors = require('cors');
-
-// Engedélyezett origin-ek whitelist (környezeti változóból)
-const allowedOrigins = process.env.ALLOWED_ORIGINS?.split(',') || ['http://localhost:3000'];
-
-const corsOptions = {
- origin: fu nction (origin, callback) {
- // TODO 1: Ha nincs origin (pl. Postman, curl, backend-backend hívás), engedélyezd
- // Tipp: if (!origin) return callback(null, true);
-
- // TODO 2: Ha az origin benne van az allowedOrigins-ban, engedélyezd
- // Tipp: if (allowedOrigins.includes(origin)) return callback(null, true);
-
- // TODO 3: Egyébként tiltsd le CORS hibával
- // Tipp: callback(new Error('Not allowed by CORS'));
- },
- credentials: true, // Cookie/Auth header engedélyezése
- methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
- allowedHeaders: ['Content-Type', 'Authorization']
-};
-
-module.exports = cors(corsOptions);
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/index.html
deleted file mode 100644
index 9e1da4d..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/index.html
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
-
- Code coverage report for api/middlewares
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/17
-
-
-
-
- 0%
- Branches
- 0/4
-
-
-
-
- 0%
- Functions
- 0/4
-
-
-
-
- 0%
- Lines
- 0/17
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- authMiddleware.js
-
-
-
- 0%
- 0/11
- 0%
- 0/2
- 0%
- 0/1
- 0%
- 0/11
-
-
-
- corsMiddleware.js
-
-
-
- 0%
- 0/4
- 0%
- 0/2
- 0%
- 0/1
- 0%
- 0/4
-
-
-
- scopeMiddleware.js
-
-
-
- 0%
- 0/2
- 100%
- 0/0
- 0%
- 0/2
- 0%
- 0/2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/scopeMiddleware.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/scopeMiddleware.js.html
deleted file mode 100644
index 81d6f35..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/middlewares/scopeMiddleware.js.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
- Code coverage report for api/middlewares/scopeMiddleware.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/2
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/2
-
-
-
-
- 0%
- Lines
- 0/2
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Request szintű DI scope létrehozása
- * Middleware ami minden kéréshez új DI scope-ot készít
- */
-function scopeMiddleware( container) {
- return (r eq, res, next) => {
- // TODO 1: Hozz létre request-specifikus scope-ot
- // Tipp: const scope = container.createScope();
-
- // TODO 2: Tárold el a scope-ot req.scope alatt
- // Tipp: req.scope = scope;
-
- // TODO 3: Hívd meg a next()-et
- // Tipp: next();
- };
-}
-
-module.exports = scopeMiddleware;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/authRoutes.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/authRoutes.js.html
deleted file mode 100644
index 5771f7c..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/authRoutes.js.html
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
-
-
- Code coverage report for api/routers/authRoutes.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/13
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/5
-
-
-
-
- 0%
- Lines
- 0/9
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const express = require('express');
-
-/**
- * Auth Routes
- * Public endpoints (nincs JWT védelem)
- *
- * @param {Container} container - DI Container
- */
-function createAuthRoutes( container) {
- const router = express.Router();
-
- // AuthController lekérése a DI Container-ből
- const authController = container.resolve('AuthController');
-
- /**
- * POST /api/auth/register - User regisztráció
- * Body: { name, email, password }
- * Response: { user, token }
- */
- router.post('/register', (r eq, res) => authController.register(req, res)) ;
-
- /**
- * POST /api/auth/login - User bejelentkezés
- * Body: { email, password }
- * Response: { user, token }
- */
- router.post('/login', (r eq, res) => authController.login(req, res)) ;
-
- /**
- * POST /api/auth/logout - User kijelentkezés
- * Clears the authentication cookie
- */
- router.post('/logout', (r eq, res) => authController.logout(req, res)) ;
-
- /**
- * OPTIONS /api/auth/* - CORS preflight
- */
- router.options('*', (r eq, res) => res.sendStatus(204)) ;
-
- return router;
-}
-
-module.exports = createAuthRoutes;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/index.html
deleted file mode 100644
index 6349d0b..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/index.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
- Code coverage report for api/routers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/29
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/11
-
-
-
-
- 0%
- Lines
- 0/20
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- authRoutes.js
-
-
-
- 0%
- 0/13
- 100%
- 0/0
- 0%
- 0/5
- 0%
- 0/9
-
-
-
- userRoutes.js
-
-
-
- 0%
- 0/16
- 100%
- 0/0
- 0%
- 0/6
- 0%
- 0/11
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/userRoutes.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/userRoutes.js.html
deleted file mode 100644
index 8565149..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/api/routers/userRoutes.js.html
+++ /dev/null
@@ -1,232 +0,0 @@
-
-
-
-
-
- Code coverage report for api/routers/userRoutes.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/16
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/6
-
-
-
-
- 0%
- Lines
- 0/11
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const express = require('express');
-const authMiddleware = require('../middlewares/authMiddleware');
-
-/**
- * User Routes
- * Protected endpoints (JWT authentication required)
- *
- * @param {Container} container - DI Container
- */
-function createUserRoutes( container) {
- const router = express.Router();
-
- // UserController lekérése a DI Container-ből
- const userController = container.resolve('UserController');
-
- /**
- * GET /api/users/me - Bejelentkezett user adatai
- * Headers: Authorization: Bearer <token>
- */
- router.get('/me', authMiddleware, (r eq, res) => userController.getMe(req, res)) ;
-
- /**
- * PUT /api/users/me - User profil frissítése
- * Headers: Authorization: Bearer <token>
- * Body: { name }
- */
- router.put('/me', authMiddleware, (r eq, res) => userController.updateMe(req, res)) ;
-
- /**
- * GET /api/users - Összes user lekérése (protected)
- * Headers: Authorization: Bearer <token>
- */
- router.get('/', authMiddleware, (r eq, res) => userController.getAll(req, res)) ;
-
- /**
- * GET /api/users/:id - User lekérése ID alapján (protected)
- * Headers: Authorization: Bearer <token>
- */
- router.get('/:id', authMiddleware, (r eq, res) => userController.getById(req, res)) ;
-
- /**
- * OPTIONS /api/users/* - CORS preflight
- */
- router.options('*', (r eq, res) => res.sendStatus(204)) ;
-
- return router;
-}
-
-module.exports = createUserRoutes;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/LoginUserCommand.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/LoginUserCommand.js.html
deleted file mode 100644
index d124121..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/LoginUserCommand.js.html
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
- Code coverage report for application/auth/commands/LoginUserCommand.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/3
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/3
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Login User Command
- * Command object for user login
- */
-class LoginUserCommand {
- co nstructor(email, password) {
- this.email = email;
- this.password = password;
- }
-}
-
-module.exports = LoginUserCommand;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/LoginUserCommandHandler.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/LoginUserCommandHandler.js.html
deleted file mode 100644
index 991b616..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/LoginUserCommandHandler.js.html
+++ /dev/null
@@ -1,265 +0,0 @@
-
-
-
-
-
- Code coverage report for application/auth/commands/LoginUserCommandHandler.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/17
-
-
-
-
- 0%
- Branches
- 0/8
-
-
-
-
- 0%
- Functions
- 0/2
-
-
-
-
- 0%
- Lines
- 0/17
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const bcrypt = require('bcryptjs');
-const JwtService = require('../../services/JwtService');
-
-const jwtService = new JwtService();
-
-/**
- * Login User Command Handler
- * Handles user login authentication
- */
-class LoginUserCommandHandler {
- co nstructor(prisma) {
- this.prisma = prisma;
- }
-
- /**
- * Execute login command
- * @param {LoginUserCommand} command
- * @returns {Promise<Object>} { user, token }
- */
- as ync handle(command) {
- const { email, password } = command;
-
- // Validáció
- if (!email || !password) {
- throw new Error('Email and password are required');
- }
-
- // User keresése email alapján
- const user = await this.prisma.user.findUnique({
- where: { email }
- });
-
- if (!user) {
- throw new Error('Invalid email or password');
- }
-
- // Jelszó ellenőrzése
- const isPasswordValid = await bcrypt.compare(password, user.password);
-
- if (!isPasswordValid) {
- throw new Error('Invalid email or password');
- }
-
- // JWT token generálása
- const token = jwtService.generateToken({
- userId: user.id,
- email: user.email
- });
-
- // Jelszót ne adjuk vissza
- const { password: _, ...userWithoutPassword } = user;
-
- return {
- user: userWithoutPassword,
- token
- };
- }
-}
-
-module.exports = LoginUserCommandHandler;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/RegisterUserCommand.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/RegisterUserCommand.js.html
deleted file mode 100644
index 432bbae..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/RegisterUserCommand.js.html
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
- Code coverage report for application/auth/commands/RegisterUserCommand.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/4
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/4
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Register User Command
- * Command object for user registration
- */
-class RegisterUserCommand {
- co nstructor(name, email, password) {
- this.name = name;
- this.email = email;
- this.password = password;
- }
-}
-
-module.exports = RegisterUserCommand;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/RegisterUserCommandHandler.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/RegisterUserCommandHandler.js.html
deleted file mode 100644
index ec2b543..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/RegisterUserCommandHandler.js.html
+++ /dev/null
@@ -1,334 +0,0 @@
-
-
-
-
-
- Code coverage report for application/auth/commands/RegisterUserCommandHandler.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/25
-
-
-
-
- 0%
- Branches
- 0/13
-
-
-
-
- 0%
- Functions
- 0/3
-
-
-
-
- 0%
- Lines
- 0/25
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const bcrypt = require('bcryptjs');
-const JwtService = require('../../services/JwtService');
-
-const jwtService = new JwtService();
-
-/**
- * Register User Command Handler
- * Handles user registration business logic
- */
-class RegisterUserCommandHandler {
- co nstructor(prisma, emailService) {
- this.prisma = prisma;
- this.emailService = emailService;
- }
-
- /**
- * Execute user registration command
- * @param {RegisterUserCommand} command
- * @returns {Promise<Object>} { user, token }
- */
- as ync handle(command) {
- const { name, email, password } = command;
-
- // Validáció
- if (!name || !email || !password) {
- throw new Error('Name, email and password are required');
- }
-
- if (password.length < 6) {
- throw new Error('Password must be at least 6 characters long');
- }
-
- // Email formátum ellenőrzés
- const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
- if (!emailRegex.test(email)) {
- throw new Error('Invalid email format');
- }
-
- // Ellenőrizzük, hogy létezik-e már a user
- const existingUser = await this.prisma.user.findUnique({
- where: { email }
- });
-
- if (existingUser) {
- throw new Error('User with this email already exists');
- }
-
- // Jelszó hashelése (bcrypt)
- const hashedPassword = await bcrypt.hash(password, 10);
-
- // User létrehozása
- const user = await this.prisma.user.create({
- data: {
- name,
- email,
- password: hashedPassword
- }
- });
-
- // Welcome email küldése (async, nem várunk rá)
- if (this.emailService) {
- this.emailService.sendWelcomeEmail(email, name).catch(er r => {
- console.error('❌ Failed to send welcome email:', err.message);
- });
- }
-
- // JWT token generálása
- const token = jwtService.generateToken({
- userId: user.id,
- email: user.email
- });
-
- // Jelszót ne adjuk vissza a response-ban
- const { password: _, ...userWithoutPassword } = user;
-
- return {
- user: userWithoutPassword,
- token
- };
- }
-}
-
-module.exports = RegisterUserCommandHandler;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/index.html
deleted file mode 100644
index 7ac7bd5..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/auth/commands/index.html
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
- Code coverage report for application/auth/commands
-
-
-
-
-
-
-
-
-
-
-
-
All files application/auth/commands
-
-
-
- 0%
- Statements
- 0/49
-
-
-
-
- 0%
- Branches
- 0/21
-
-
-
-
- 0%
- Functions
- 0/7
-
-
-
-
- 0%
- Lines
- 0/49
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/Container.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/Container.js.html
deleted file mode 100644
index c5c82ab..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/Container.js.html
+++ /dev/null
@@ -1,256 +0,0 @@
-
-
-
-
-
- Code coverage report for application/services/Container.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 100%
- Statements
- 1/1
-
-
-
-
- 100%
- Branches
- 2/2
-
-
-
-
- 100%
- Functions
- 4/4
-
-
-
-
- 100%
- Lines
- 1/1
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-1x
- /**
- * Dependency Injection Container
- * Supports singleton, transient, and scoped lifetimes
- */
-class Container {
- constructor() {
- // TODO 1: Inicializáld a services Map-et (singleton instance-ok tárolása)
- // TODO 2: Inicializáld a factories Map-et (factory függvények tárolása)
- // TODO 3: Inicializáld a lifetimes Map-et (lifecycle típusok tárolása)
-
- // Példa inicializálás:
- // this.services = new Map();
- // this.factories = new Map();
- // this.lifetimes = new Map();
- }
-
- register(name, factory, lifetime = 'singleton') {
- // TODO 4: Tárold el a factory függvényt (this.factories.set(name, factory))
- // TODO 5: Tárold el a lifetime típust (this.lifetimes.set(name, lifetime))
- // TODO 6: Ha a lifetime === 'singleton', azonnal példányosítsd:
- // - Hívd meg a factory-t: const instance = factory();
- // - Tárold el: this.services.set(name, instance);
- }
-
- resolve(name, scope = null) {
- // TODO 7: Ha a service regisztrálva van mint 'scoped' ÉS van scope paraméter:
- // - Ellenőrizd: if (scope && scope.has(name)) return scope.get(name);
- // - Ha nincs még a scope-ban, példányosítsd és tárold:
- // const instance = this.factories.get(name)();
- // scope.set(name, instance);
- // return instance;
-
- // TODO 8: Ha singleton, add vissza a services-ből:
- // if (this.lifetimes.get(name) === 'singleton') {
- // return this.services.get(name);
- // }
-
- // TODO 9: Ha transient, minden alkalommal hívj egy új factory-t:
- // if (this.lifetimes.get(name) === 'transient') {
- // return this.factories.get(name)();
- // }
-
- // TODO 10: Ha nem regisztrált a service, dobj hibát:
- // throw new Error(`Service '${name}' is not registered`);
- }
-
- createScope() {
- // TODO 11: Hozz létre egy új Map-et az scoped instance-oknak
- // TODO 12: Térj vissza egy objektummal ami tartalmaz egy resolve metódust:
- // const scopeMap = new Map();
- // return {
- // resolve: (name) => this.resolve(name, scopeMap)
- // };
- }
-}
-
-module.exports = Container;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/EmailService.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/EmailService.js.html
deleted file mode 100644
index 3e70f84..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/EmailService.js.html
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
- Code coverage report for application/services/EmailService.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/4
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/2
-
-
-
-
- 0%
- Lines
- 0/4
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Email Service
- * Nodemailer + Handlebars template based email sending
- *
- * TODO: Implement by students
- */
-class EmailService {
- co nstructor() {
- // TODO 1: Hozz létre Nodemailer transportot Ethereal tesztelő SMTP-vel
- // this.transporter = nodemailer.createTransport({
- // host: 'smtp.ethereal.email',
- // port: 587,
- // secure: false, // TLS
- // auth: {
- // user: process.env.ETHEREAL_USER || 'your-test-email@ethereal.email',
- // pass: process.env.ETHEREAL_PASS || 'your-test-password'
- // }
- // });
-
- console.log('📧 EmailService initialized');
- }
-
- as ync sendWelcomeEmail(userEmail, userName) {
- // TODO 2-6: Implement email sending with Handlebars template
- // For now, just log to console
- console.log(`📧 Would send welcome email to ${userEmail} (${userName})`);
- return true;
- }
-}
-
-module.exports = EmailService;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/JwtService.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/JwtService.js.html
deleted file mode 100644
index fde995a..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/JwtService.js.html
+++ /dev/null
@@ -1,427 +0,0 @@
-
-
-
-
-
- Code coverage report for application/services/JwtService.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/29
-
-
-
-
- 0%
- Branches
- 0/20
-
-
-
-
- 0%
- Functions
- 0/8
-
-
-
-
- 0%
- Lines
- 0/29
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const jwt = require('jsonwebtoken');
-
-/**
- * JWT Service
- * Handles JWT token generation, verification, and cookie management
- */
-class JwtService {
- co nstructor() {
- this.secret = process.env.JWT_SECRET || 'default-secret-change-me';
- this.expiresIn = process.env.JWT_EXPIRES_IN || '1h';
- this.cookieName = 'auth_token';
- }
-
- /**
- * Generate JWT token
- * @param {Object} payload - { userId, email }
- * @returns {string} JWT token
- */
- ge nerateToken(payload) {
- return jwt.sign(payload, this.secret, { expiresIn: this.expiresIn });
- }
-
- /**
- * Verify JWT token
- * @param {string} token - JWT token
- * @returns {Object} Decoded payload
- */
- ve rifyToken(token) {
- try {
- return jwt.verify(token, this.secret);
- } catch (error) {
- throw new Error('Invalid or expired token');
- }
- }
-
- /**
- * Extract token from Authorization header (Bearer token)
- * @param {string} authHeader - Authorization header value
- * @returns {string|null} Token or null
- */
- ex tractTokenFromHeader(authHeader) {
- if (!authHeader) {
- return null;
- }
-
- const parts = authHeader.split(' ');
-
- if (parts.length !== 2 || parts[0] !== 'Bearer') {
- return null;
- }
-
- return parts[1];
- }
-
- /**
- * Extract token from cookies
- * @param {Object} cookies - Request cookies object
- * @returns {string|null} Token or null
- */
- ex tractTokenFromCookies(cookies) {
- if (!cookies || !cookies[this.cookieName]) {
- return null;
- }
-
- return cookies[this.cookieName];
- }
-
- /**
- * Get cookie options for setting JWT cookie
- * @returns {Object} Cookie options
- */
- ge tCookieOptions() {
- const isProduction = process.env.NODE_ENV === 'production';
-
- return {
- httpOnly: true, // Prevents XSS attacks
- secure: isProduction, // HTTPS only in production
- sameSite: 'strict', // CSRF protection
- maxAge: this._getMaxAge(),
- path: '/'
- };
- }
-
- /**
- * Get cookie max age in milliseconds
- * @private
- * @returns {number}
- */
- _g etMaxAge() {
- // Parse JWT_EXPIRES_IN (e.g., "1h", "7d")
- const expiresIn = this.expiresIn;
-
- if (expiresIn.endsWith('h')) {
- return parseInt(expiresIn) * 60 * 60 * 1000;
- } else if (expiresIn.endsWith('d')) {
- return parseInt(expiresIn) * 24 * 60 * 60 * 1000;
- } else if (expiresIn.endsWith('m')) {
- return parseInt(expiresIn) * 60 * 1000;
- }
-
- // Default: 1 hour
- return 60 * 60 * 1000;
- }
-
- /**
- * Get cookie name
- * @returns {string}
- */
- ge tCookieName() {
- return this.cookieName;
- }
-}
-
-module.exports = JwtService;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/index.html
deleted file mode 100644
index 9eac7ae..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/services/index.html
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
-
- Code coverage report for application/services
-
-
-
-
-
-
-
-
-
-
-
-
All files application/services
-
-
-
- 2.94%
- Statements
- 1/34
-
-
-
-
- 9.09%
- Branches
- 2/22
-
-
-
-
- 28.57%
- Functions
- 4/14
-
-
-
-
- 2.94%
- Lines
- 1/34
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- Container.js
-
-
-
- 100%
- 1/1
- 100%
- 2/2
- 100%
- 4/4
- 100%
- 1/1
-
-
-
- EmailService.js
-
-
-
- 0%
- 0/4
- 100%
- 0/0
- 0%
- 0/2
- 0%
- 0/4
-
-
-
- JwtService.js
-
-
-
- 0%
- 0/29
- 0%
- 0/20
- 0%
- 0/8
- 0%
- 0/29
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/UpdateUserProfileCommand.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/UpdateUserProfileCommand.js.html
deleted file mode 100644
index 07c0aeb..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/UpdateUserProfileCommand.js.html
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/commands/UpdateUserProfileCommand.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/3
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/3
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Update User Profile Command
- * Command object for updating user profile
- */
-class UpdateUserProfileCommand {
- co nstructor(userId, name) {
- this.userId = userId;
- this.name = name;
- }
-}
-
-module.exports = UpdateUserProfileCommand;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/UpdateUserProfileCommandHandler.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/UpdateUserProfileCommandHandler.js.html
deleted file mode 100644
index 78e7717..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/UpdateUserProfileCommandHandler.js.html
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/commands/UpdateUserProfileCommandHandler.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/8
-
-
-
-
- 0%
- Branches
- 0/2
-
-
-
-
- 0%
- Functions
- 0/2
-
-
-
-
- 0%
- Lines
- 0/8
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Update User Profile Command Handler
- * Handles user profile update logic
- */
-class UpdateUserProfileCommandHandler {
- co nstructor(prisma) {
- this.prisma = prisma;
- }
-
- /**
- * Execute update profile command
- * @param {UpdateUserProfileCommand} command
- * @returns {Promise<Object>} Updated user data
- */
- as ync handle(command) {
- const { userId, name } = command;
-
- if (!name) {
- throw new Error('Name is required');
- }
-
- const user = await this.prisma.user.update({
- where: { id: userId },
- data: { name }
- });
-
- const { password, ...userWithoutPassword } = user;
- return userWithoutPassword;
- }
-}
-
-module.exports = UpdateUserProfileCommandHandler;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/index.html
deleted file mode 100644
index 702c253..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/commands/index.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/commands
-
-
-
-
-
-
-
-
-
-
-
-
All files application/user/commands
-
-
-
- 0%
- Statements
- 0/11
-
-
-
-
- 0%
- Branches
- 0/2
-
-
-
-
- 0%
- Functions
- 0/3
-
-
-
-
- 0%
- Lines
- 0/11
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetAllUsersQuery.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetAllUsersQuery.js.html
deleted file mode 100644
index 9a80ec9..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetAllUsersQuery.js.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/queries/GetAllUsersQuery.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/1
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/1
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-
-
-
-
-
-
-
-
-
-
- /**
- * Get All Users Query
- * Query object for retrieving all users
- */
-class GetAllUsersQuery {
- co nstructor() {
- // No parameters needed for getting all users
- }
-}
-
-module.exports = GetAllUsersQuery;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetAllUsersQueryHandler.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetAllUsersQueryHandler.js.html
deleted file mode 100644
index 7080510..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetAllUsersQueryHandler.js.html
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/queries/GetAllUsersQueryHandler.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/5
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/3
-
-
-
-
- 0%
- Lines
- 0/4
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Get All Users Query Handler
- * Handles retrieval of all users
- */
-class GetAllUsersQueryHandler {
- co nstructor(prisma) {
- this.prisma = prisma;
- }
-
- /**
- * Execute get all users query
- * @param {GetAllUsersQuery} query
- * @returns {Promise<Array>} List of users without passwords
- */
- as ync handle(query) {
- const users = await this.prisma.user.findMany({
- orderBy: { createdAt: 'desc' }
- });
-
- // Remove passwords from all users
- return users.map(({ password, ...user }) => user) ;
- }
-}
-
-module.exports = GetAllUsersQueryHandler;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetMeQuery.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetMeQuery.js.html
deleted file mode 100644
index ba8146e..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetMeQuery.js.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/queries/GetMeQuery.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/2
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/2
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-
-
-
-
-
-
-
-
-
-
- /**
- * Get Me Query
- * Query object for getting current authenticated user
- */
-class GetMeQuery {
- co nstructor(userId) {
- this.userId = userId;
- }
-}
-
-module.exports = GetMeQuery;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetMeQueryHandler.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetMeQueryHandler.js.html
deleted file mode 100644
index 953c0fc..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetMeQueryHandler.js.html
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/queries/GetMeQueryHandler.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/8
-
-
-
-
- 0%
- Branches
- 0/2
-
-
-
-
- 0%
- Functions
- 0/2
-
-
-
-
- 0%
- Lines
- 0/8
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Get Me Query Handler
- * Handles retrieval of current authenticated user
- */
-class GetMeQueryHandler {
- co nstructor(prisma) {
- this.prisma = prisma;
- }
-
- /**
- * Execute get me query
- * @param {GetMeQuery} query
- * @returns {Promise<Object>} User data without password
- */
- as ync handle(query) {
- const { userId } = query;
-
- const user = await this.prisma.user.findUnique({
- where: { id: userId }
- });
-
- if (!user) {
- throw new Error('User not found');
- }
-
- const { password, ...userWithoutPassword } = user;
- return userWithoutPassword;
- }
-}
-
-module.exports = GetMeQueryHandler;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetUserByIdQuery.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetUserByIdQuery.js.html
deleted file mode 100644
index a3bb8ff..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetUserByIdQuery.js.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/queries/GetUserByIdQuery.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/2
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/1
-
-
-
-
- 0%
- Lines
- 0/2
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-
-
-
-
-
-
-
-
-
-
- /**
- * Get User By ID Query
- * Query object for retrieving a user by ID
- */
-class GetUserByIdQuery {
- co nstructor(userId) {
- this.userId = userId;
- }
-}
-
-module.exports = GetUserByIdQuery;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetUserByIdQueryHandler.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetUserByIdQueryHandler.js.html
deleted file mode 100644
index 3cb8cfb..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/GetUserByIdQueryHandler.js.html
+++ /dev/null
@@ -1,190 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/queries/GetUserByIdQueryHandler.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/10
-
-
-
-
- 0%
- Branches
- 0/6
-
-
-
-
- 0%
- Functions
- 0/2
-
-
-
-
- 0%
- Lines
- 0/10
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * Get User By ID Query Handler
- * Handles retrieval of a specific user by ID
- */
-class GetUserByIdQueryHandler {
- co nstructor(prisma) {
- this.prisma = prisma;
- }
-
- /**
- * Execute get user by ID query
- * @param {GetUserByIdQuery} query
- * @returns {Promise<Object>} User data without password
- */
- as ync handle(query) {
- const { userId } = query;
-
- if (!userId || isNaN(userId)) {
- throw new Error('Valid user ID is required');
- }
-
- const user = await this.prisma.user.findUnique({
- where: { id: parseInt(userId) }
- });
-
- if (!user) {
- throw new Error('User not found');
- }
-
- const { password, ...userWithoutPassword } = user;
- return userWithoutPassword;
- }
-}
-
-module.exports = GetUserByIdQueryHandler;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/index.html
deleted file mode 100644
index ec25582..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/application/user/queries/index.html
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
-
-
-
- Code coverage report for application/user/queries
-
-
-
-
-
-
-
-
-
-
-
-
All files application/user/queries
-
-
-
- 0%
- Statements
- 0/28
-
-
-
-
- 0%
- Branches
- 0/8
-
-
-
-
- 0%
- Functions
- 0/10
-
-
-
-
- 0%
- Lines
- 0/27
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/base.css b/Backend/negyedik gyakorlat/coverage/lcov-report/base.css
deleted file mode 100644
index f418035..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/base.css
+++ /dev/null
@@ -1,224 +0,0 @@
-body, html {
- margin:0; padding: 0;
- height: 100%;
-}
-body {
- font-family: Helvetica Neue, Helvetica, Arial;
- font-size: 14px;
- color:#333;
-}
-.small { font-size: 12px; }
-*, *:after, *:before {
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- }
-h1 { font-size: 20px; margin: 0;}
-h2 { font-size: 14px; }
-pre {
- font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
- margin: 0;
- padding: 0;
- -moz-tab-size: 2;
- -o-tab-size: 2;
- tab-size: 2;
-}
-a { color:#0074D9; text-decoration:none; }
-a:hover { text-decoration:underline; }
-.strong { font-weight: bold; }
-.space-top1 { padding: 10px 0 0 0; }
-.pad2y { padding: 20px 0; }
-.pad1y { padding: 10px 0; }
-.pad2x { padding: 0 20px; }
-.pad2 { padding: 20px; }
-.pad1 { padding: 10px; }
-.space-left2 { padding-left:55px; }
-.space-right2 { padding-right:20px; }
-.center { text-align:center; }
-.clearfix { display:block; }
-.clearfix:after {
- content:'';
- display:block;
- height:0;
- clear:both;
- visibility:hidden;
- }
-.fl { float: left; }
-@media only screen and (max-width:640px) {
- .col3 { width:100%; max-width:100%; }
- .hide-mobile { display:none!important; }
-}
-
-.quiet {
- color: #7f7f7f;
- color: rgba(0,0,0,0.5);
-}
-.quiet a { opacity: 0.7; }
-
-.fraction {
- font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
- font-size: 10px;
- color: #555;
- background: #E8E8E8;
- padding: 4px 5px;
- border-radius: 3px;
- vertical-align: middle;
-}
-
-div.path a:link, div.path a:visited { color: #333; }
-table.coverage {
- border-collapse: collapse;
- margin: 10px 0 0 0;
- padding: 0;
-}
-
-table.coverage td {
- margin: 0;
- padding: 0;
- vertical-align: top;
-}
-table.coverage td.line-count {
- text-align: right;
- padding: 0 5px 0 20px;
-}
-table.coverage td.line-coverage {
- text-align: right;
- padding-right: 10px;
- min-width:20px;
-}
-
-table.coverage td span.cline-any {
- display: inline-block;
- padding: 0 5px;
- width: 100%;
-}
-.missing-if-branch {
- display: inline-block;
- margin-right: 5px;
- border-radius: 3px;
- position: relative;
- padding: 0 4px;
- background: #333;
- color: yellow;
-}
-
-.skip-if-branch {
- display: none;
- margin-right: 10px;
- position: relative;
- padding: 0 4px;
- background: #ccc;
- color: white;
-}
-.missing-if-branch .typ, .skip-if-branch .typ {
- color: inherit !important;
-}
-.coverage-summary {
- border-collapse: collapse;
- width: 100%;
-}
-.coverage-summary tr { border-bottom: 1px solid #bbb; }
-.keyline-all { border: 1px solid #ddd; }
-.coverage-summary td, .coverage-summary th { padding: 10px; }
-.coverage-summary tbody { border: 1px solid #bbb; }
-.coverage-summary td { border-right: 1px solid #bbb; }
-.coverage-summary td:last-child { border-right: none; }
-.coverage-summary th {
- text-align: left;
- font-weight: normal;
- white-space: nowrap;
-}
-.coverage-summary th.file { border-right: none !important; }
-.coverage-summary th.pct { }
-.coverage-summary th.pic,
-.coverage-summary th.abs,
-.coverage-summary td.pct,
-.coverage-summary td.abs { text-align: right; }
-.coverage-summary td.file { white-space: nowrap; }
-.coverage-summary td.pic { min-width: 120px !important; }
-.coverage-summary tfoot td { }
-
-.coverage-summary .sorter {
- height: 10px;
- width: 7px;
- display: inline-block;
- margin-left: 0.5em;
- background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
-}
-.coverage-summary .sorted .sorter {
- background-position: 0 -20px;
-}
-.coverage-summary .sorted-desc .sorter {
- background-position: 0 -10px;
-}
-.status-line { height: 10px; }
-/* yellow */
-.cbranch-no { background: yellow !important; color: #111; }
-/* dark red */
-.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
-.low .chart { border:1px solid #C21F39 }
-.highlighted,
-.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
- background: #C21F39 !important;
-}
-/* medium red */
-.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
-/* light red */
-.low, .cline-no { background:#FCE1E5 }
-/* light green */
-.high, .cline-yes { background:rgb(230,245,208) }
-/* medium green */
-.cstat-yes { background:rgb(161,215,106) }
-/* dark green */
-.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
-.high .chart { border:1px solid rgb(77,146,33) }
-/* dark yellow (gold) */
-.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
-.medium .chart { border:1px solid #f9cd0b; }
-/* light yellow */
-.medium { background: #fff4c2; }
-
-.cstat-skip { background: #ddd; color: #111; }
-.fstat-skip { background: #ddd; color: #111 !important; }
-.cbranch-skip { background: #ddd !important; color: #111; }
-
-span.cline-neutral { background: #eaeaea; }
-
-.coverage-summary td.empty {
- opacity: .5;
- padding-top: 4px;
- padding-bottom: 4px;
- line-height: 1;
- color: #888;
-}
-
-.cover-fill, .cover-empty {
- display:inline-block;
- height: 12px;
-}
-.chart {
- line-height: 0;
-}
-.cover-empty {
- background: white;
-}
-.cover-full {
- border-right: none !important;
-}
-pre.prettyprint {
- border: none !important;
- padding: 0 !important;
- margin: 0 !important;
-}
-.com { color: #999 !important; }
-.ignore-none { color: #999; font-weight: normal; }
-
-.wrapper {
- min-height: 100%;
- height: auto !important;
- height: 100%;
- margin: 0 auto -48px;
-}
-.footer, .push {
- height: 48px;
-}
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/block-navigation.js b/Backend/negyedik gyakorlat/coverage/lcov-report/block-navigation.js
deleted file mode 100644
index 530d1ed..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/block-navigation.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/* eslint-disable */
-var jumpToCode = (function init() {
- // Classes of code we would like to highlight in the file view
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
-
- // Elements to highlight in the file listing view
- var fileListingElements = ['td.pct.low'];
-
- // We don't want to select elements that are direct descendants of another match
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
-
- // Selector that finds elements on the page to which we can jump
- var selector =
- fileListingElements.join(', ') +
- ', ' +
- notSelector +
- missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
-
- // The NodeList of matching elements
- var missingCoverageElements = document.querySelectorAll(selector);
-
- var currentIndex;
-
- function toggleClass(index) {
- missingCoverageElements
- .item(currentIndex)
- .classList.remove('highlighted');
- missingCoverageElements.item(index).classList.add('highlighted');
- }
-
- function makeCurrent(index) {
- toggleClass(index);
- currentIndex = index;
- missingCoverageElements.item(index).scrollIntoView({
- behavior: 'smooth',
- block: 'center',
- inline: 'center'
- });
- }
-
- function goToPrevious() {
- var nextIndex = 0;
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
- nextIndex = missingCoverageElements.length - 1;
- } else if (missingCoverageElements.length > 1) {
- nextIndex = currentIndex - 1;
- }
-
- makeCurrent(nextIndex);
- }
-
- function goToNext() {
- var nextIndex = 0;
-
- if (
- typeof currentIndex === 'number' &&
- currentIndex < missingCoverageElements.length - 1
- ) {
- nextIndex = currentIndex + 1;
- }
-
- makeCurrent(nextIndex);
- }
-
- return function jump(event) {
- if (
- document.getElementById('fileSearch') === document.activeElement &&
- document.activeElement != null
- ) {
- // if we're currently focused on the search input, we don't want to navigate
- return;
- }
-
- switch (event.which) {
- case 78: // n
- case 74: // j
- goToNext();
- break;
- case 66: // b
- case 75: // k
- case 80: // p
- goToPrevious();
- break;
- }
- };
-})();
-window.addEventListener('keydown', jumpToCode);
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/irepositories/IUserRepository.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/domain/irepositories/IUserRepository.js.html
deleted file mode 100644
index 6e2aff6..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/irepositories/IUserRepository.js.html
+++ /dev/null
@@ -1,265 +0,0 @@
-
-
-
-
-
- Code coverage report for domain/irepositories/IUserRepository.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/7
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/6
-
-
-
-
- 0%
- Lines
- 0/7
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * User Repository Interface
- * Defines contract for user data access
- */
-class IUserRepository {
- /**
- * Find user by ID
- * @param {number} id
- * @returns {Promise<User|null>}
- */
- as ync findById(id) {
- throw new Error('Method findById() must be implemented');
- }
-
- /**
- * Find user by email
- * @param {string} email
- * @returns {Promise<User|null>}
- */
- as ync findByEmail(email) {
- throw new Error('Method findByEmail() must be implemented');
- }
-
- /**
- * Find all users
- * @returns {Promise<User[]>}
- */
- as ync findAll() {
- throw new Error('Method findAll() must be implemented');
- }
-
- /**
- * Create new user
- * @param {User} user
- * @returns {Promise<User>}
- */
- as ync create(user) {
- throw new Error('Method create() must be implemented');
- }
-
- /**
- * Update existing user
- * @param {User} user
- * @returns {Promise<User>}
- */
- as ync update(user) {
- throw new Error('Method update() must be implemented');
- }
-
- /**
- * Delete user by ID
- * @param {number} id
- * @returns {Promise<boolean>}
- */
- as ync delete(id) {
- throw new Error('Method delete() must be implemented');
- }
-}
-
-module.exports = IUserRepository;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/irepositories/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/domain/irepositories/index.html
deleted file mode 100644
index c9c56e6..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/irepositories/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
- Code coverage report for domain/irepositories
-
-
-
-
-
-
-
-
-
-
-
-
All files domain/irepositories
-
-
-
- 0%
- Statements
- 0/7
-
-
-
-
- 100%
- Branches
- 0/0
-
-
-
-
- 0%
- Functions
- 0/6
-
-
-
-
- 0%
- Lines
- 0/7
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- IUserRepository.js
-
-
-
- 0%
- 0/7
- 100%
- 0/0
- 0%
- 0/6
- 0%
- 0/7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/models/User.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/domain/models/User.js.html
deleted file mode 100644
index 1b5f5f9..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/models/User.js.html
+++ /dev/null
@@ -1,313 +0,0 @@
-
-
-
-
-
- Code coverage report for domain/models/User.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/22
-
-
-
-
- 0%
- Branches
- 0/16
-
-
-
-
- 0%
- Functions
- 0/5
-
-
-
-
- 0%
- Lines
- 0/22
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /**
- * User Domain Model
- * Pure domain entity with business logic validation
- */
-class User {
- co nstructor(id, name, email, password, createdAt, updatedAt) {
- this.id = id;
- this.name = name;
- this.email = email;
- this.password = password;
- this.createdAt = createdAt;
- this.updatedAt = updatedAt;
- }
-
- /**
- * Factory method to create a new User
- * @param {Object} data - { name, email, password }
- * @returns {User}
- */
- st atic create(data) {
- const { name, email, password } = data;
-
- // Validation
- if (!name || name.trim().length === 0) {
- throw new Error('User name is required');
- }
-
- if (!email || !User.isValidEmail(email)) {
- throw new Error('Valid email is required');
- }
-
- if (!password || password.length < 6) {
- throw new Error('Password must be at least 6 characters long');
- }
-
- return new User(null, name.trim(), email.toLowerCase(), password, new Date(), new Date());
- }
-
- /**
- * Email validation
- * @param {string} email
- * @returns {boolean}
- */
- st atic isValidEmail(email) {
- const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
- return emailRegex.test(email);
- }
-
- /**
- * Update user name
- * @param {string} newName
- */
- up dateName(newName) {
- if (!newName || newName.trim().length === 0) {
- throw new Error('User name is required');
- }
- this.name = newName.trim();
- this.updatedAt = new Date();
- }
-
- /**
- * Get user without sensitive data
- * @returns {Object}
- */
- to PublicJSON() {
- return {
- id: this.id,
- name: this.name,
- email: this.email,
- createdAt: this.createdAt,
- updatedAt: this.updatedAt
- };
- }
-}
-
-module.exports = User;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/models/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/domain/models/index.html
deleted file mode 100644
index 8d53e51..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/domain/models/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
- Code coverage report for domain/models
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/22
-
-
-
-
- 0%
- Branches
- 0/16
-
-
-
-
- 0%
- Functions
- 0/5
-
-
-
-
- 0%
- Lines
- 0/22
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- User.js
-
-
-
- 0%
- 0/22
- 0%
- 0/16
- 0%
- 0/5
- 0%
- 0/22
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/favicon.png b/Backend/negyedik gyakorlat/coverage/lcov-report/favicon.png
deleted file mode 100644
index c1525b8..0000000
Binary files a/Backend/negyedik gyakorlat/coverage/lcov-report/favicon.png and /dev/null differ
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/index.html
deleted file mode 100644
index 9970c3e..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/index.html
+++ /dev/null
@@ -1,266 +0,0 @@
-
-
-
-
-
- Code coverage report for All files
-
-
-
-
-
-
-
-
-
-
-
-
All files
-
-
-
- 0.32%
- Statements
- 1/312
-
-
-
-
- 1.94%
- Branches
- 2/103
-
-
-
-
- 4.81%
- Functions
- 4/83
-
-
-
-
- 0.33%
- Lines
- 1/301
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/db/DatabaseConnection.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/db/DatabaseConnection.js.html
deleted file mode 100644
index e4127c9..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/db/DatabaseConnection.js.html
+++ /dev/null
@@ -1,307 +0,0 @@
-
-
-
-
-
- Code coverage report for infrastructure/db/DatabaseConnection.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/25
-
-
-
-
- 0%
- Branches
- 0/8
-
-
-
-
- 0%
- Functions
- 0/5
-
-
-
-
- 0%
- Lines
- 0/25
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const { PrismaClient } = require('@prisma/client');
-
-/**
- * Database Connection Wrapper
- * Manages Prisma Client lifecycle
- */
-class DatabaseConnection {
- co nstructor() {
- this.prisma = null;
- }
-
- /**
- * Initialize Prisma Client
- */
- as ync connect() {
- if (this.prisma) {
- console.log('⚠️ Prisma Client already connected');
- return;
- }
-
- try {
- this.prisma = new PrismaClient({
- log: process.env.NODE_ENV === 'development' ? ['query', 'error', 'warn'] : ['error'],
- });
-
- await this.prisma.$connect();
- console.log('✅ Prisma connected to PostgreSQL');
- } catch (error) {
- console.error('❌ Failed to connect to database:', error);
- throw error;
- }
- }
-
- /**
- * Get Prisma Client instance
- * @returns {PrismaClient}
- */
- ge tClient() {
- if (!this.prisma) {
- throw new Error('Database not connected. Call connect() first.');
- }
- return this.prisma;
- }
-
- /**
- * Close database connection
- */
- as ync disconnect() {
- if (this.prisma) {
- await this.prisma.$disconnect();
- console.log('🛑 Prisma disconnected');
- this.prisma = null;
- }
- }
-
- /**
- * Health check
- * @returns {Promise<boolean>}
- */
- as ync healthCheck() {
- try {
- await this.prisma.$queryRaw`SELECT 1`;
- return true;
- } catch (error) {
- console.error('❌ Database health check failed:', error);
- return false;
- }
- }
-}
-
-// Singleton instance
-const databaseConnection = new DatabaseConnection();
-
-module.exports = databaseConnection;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/db/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/db/index.html
deleted file mode 100644
index b0f53bb..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/db/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
- Code coverage report for infrastructure/db
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/25
-
-
-
-
- 0%
- Branches
- 0/8
-
-
-
-
- 0%
- Functions
- 0/5
-
-
-
-
- 0%
- Lines
- 0/25
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- DatabaseConnection.js
-
-
-
- 0%
- 0/25
- 0%
- 0/8
- 0%
- 0/5
- 0%
- 0/25
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/repositories/UserRepository.js.html b/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/repositories/UserRepository.js.html
deleted file mode 100644
index 1cbf0b7..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/repositories/UserRepository.js.html
+++ /dev/null
@@ -1,475 +0,0 @@
-
-
-
-
-
- Code coverage report for infrastructure/repositories/UserRepository.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0%
- Statements
- 0/25
-
-
-
-
- 0%
- Branches
- 0/4
-
-
-
-
- 0%
- Functions
- 0/9
-
-
-
-
- 0%
- Lines
- 0/24
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const IUserRepository = require('../../domain/irepositories/IUserRepository');
-const User = require('../../domain/models/User');
-
-/**
- * User Repository Implementation
- * Prisma-based data access for User entity
- */
-class UserRepository extends IUserRepository {
- co nstructor(prisma) {
- super();
- this.prisma = prisma;
- }
-
- /**
- * Find user by ID
- * @param {number} id
- * @returns {Promise<User|null>}
- */
- as ync findById(id) {
- const userData = await this.prisma.user.findUnique({
- where: { id: parseInt(id) }
- });
-
- if (!userData) {
- return null;
- }
-
- return this._toDomain(userData);
- }
-
- /**
- * Find user by email
- * @param {string} email
- * @returns {Promise<User|null>}
- */
- as ync findByEmail(email) {
- const userData = await this.prisma.user.findUnique({
- where: { email: email.toLowerCase() }
- });
-
- if (!userData) {
- return null;
- }
-
- return this._toDomain(userData);
- }
-
- /**
- * Find all users
- * @returns {Promise<User[]>}
- */
- as ync findAll() {
- const usersData = await this.prisma.user.findMany({
- orderBy: { createdAt: 'desc' }
- });
-
- return usersData.map(us erData => this._toDomain(userData)) ;
- }
-
- /**
- * Create new user
- * @param {User} user
- * @returns {Promise<User>}
- */
- as ync create(user) {
- const userData = await this.prisma.user.create({
- data: {
- name: user.name,
- email: user.email,
- password: user.password
- }
- });
-
- return this._toDomain(userData);
- }
-
- /**
- * Update existing user
- * @param {User} user
- * @returns {Promise<User>}
- */
- as ync update(user) {
- const userData = await this.prisma.user.update({
- where: { id: user.id },
- data: {
- name: user.name,
- email: user.email,
- password: user.password,
- updatedAt: new Date()
- }
- });
-
- return this._toDomain(userData);
- }
-
- /**
- * Delete user by ID
- * @param {number} id
- * @returns {Promise<boolean>}
- */
- as ync delete(id) {
- try {
- await this.prisma.user.delete({
- where: { id: parseInt(id) }
- });
- return true;
- } catch (error) {
- return false;
- }
- }
-
- /**
- * Convert Prisma data to Domain model
- * @private
- * @param {Object} userData - Prisma user data
- * @returns {User}
- */
- _t oDomain(userData) {
- return new User(
- userData.id,
- userData.name,
- userData.email,
- userData.password,
- userData.createdAt,
- userData.updatedAt
- );
- }
-}
-
-module.exports = UserRepository;
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/repositories/index.html b/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/repositories/index.html
deleted file mode 100644
index 596286e..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/infrastructure/repositories/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
- Code coverage report for infrastructure/repositories
-
-
-
-
-
-
-
-
-
-
-
-
All files infrastructure/repositories
-
-
-
- 0%
- Statements
- 0/25
-
-
-
-
- 0%
- Branches
- 0/4
-
-
-
-
- 0%
- Functions
- 0/9
-
-
-
-
- 0%
- Lines
- 0/24
-
-
-
-
-
- Press n or j to go to the next uncovered block, b , p or k for the previous block.
-
-
-
- Filter:
-
-
-
-
-
-
-
-
-
- File
-
- Statements
-
- Branches
-
- Functions
-
- Lines
-
-
-
-
- UserRepository.js
-
-
-
- 0%
- 0/25
- 0%
- 0/4
- 0%
- 0/9
- 0%
- 0/24
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/prettify.css b/Backend/negyedik gyakorlat/coverage/lcov-report/prettify.css
deleted file mode 100644
index b317a7c..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/prettify.css
+++ /dev/null
@@ -1 +0,0 @@
-.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
diff --git a/Backend/negyedik gyakorlat/coverage/lcov-report/prettify.js b/Backend/negyedik gyakorlat/coverage/lcov-report/prettify.js
deleted file mode 100644
index b322523..0000000
--- a/Backend/negyedik gyakorlat/coverage/lcov-report/prettify.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/* eslint-disable */
-window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^