{"id":25169844,"url":"https://github.com/thomas-horvath/egs-backend","last_synced_at":"2026-04-09T11:09:44.485Z","repository":{"id":249955616,"uuid":"833054535","full_name":"Thomas-Horvath/EGS-backend","owner":"Thomas-Horvath","description":"EGS Webshop - nodejs-express server","archived":false,"fork":false,"pushed_at":"2024-09-25T17:50:25.000Z","size":9965,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T08:36:37.958Z","etag":null,"topics":["express","javascript","mongodb","nodejs","server"],"latest_commit_sha":null,"homepage":"https://egs.thomasapi.eu","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Thomas-Horvath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-24T09:06:52.000Z","updated_at":"2024-10-10T07:04:26.000Z","dependencies_parsed_at":"2024-08-01T00:12:52.635Z","dependency_job_id":"4a8c821e-4ae0-4742-bb70-d4b969b08c5e","html_url":"https://github.com/Thomas-Horvath/EGS-backend","commit_stats":null,"previous_names":["thomas-horvath/egs-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thomas-Horvath%2FEGS-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thomas-Horvath%2FEGS-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thomas-Horvath%2FEGS-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thomas-Horvath%2FEGS-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thomas-Horvath","download_url":"https://codeload.github.com/Thomas-Horvath/EGS-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247072066,"owners_count":20878820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","javascript","mongodb","nodejs","server"],"created_at":"2025-02-09T08:36:39.632Z","updated_at":"2025-12-30T22:47:29.108Z","avatar_url":"https://github.com/Thomas-Horvath.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electric Guitar Shop - Hangszerbolt Webshop BackEnd \n\n- A project egy hangszer webáruház backendjét valósítja meg.\n\n## Használat:\n\n1. Hozz létre egy mongodb adatbázist három collectionnel:\n    - users\n    - products \n    - orders\n\n2. teszt adatokat az api mappában találod. A users collectionsbe a usersWithHashedPassword.json fájlt használd.\n\n3. a .env-template fájl nevéből töröld a -template végződést.\n4. a .env fájlba generálj egy JWT keyt és add meg a mongodb kapcsolódási linkjét. A port szabadon választható.\n5. `npm install` parancsal telepítsd a függőségeket. Így létrejön a node_moduls mappa.\n6. `npm run prod` vagy `npm start` parancsokkal indíthatod az alkalmazást \n7. Az api mappában található postmanTest.json fájlt a postmen alkalmazásba beimprortálva tudud tesztelni az alakalmazás útvonalait. \n\n\n### Felhasznált technológiák:\n\n- Node.js \n- Express  \n- dotenv \n- path\n- Jasonwebtoken\n- bcrypt\n- joi \n- multer\n\n\n\n\n\n\n### Az alkalmazásaba útvonali:\n\n        - token nélkül elérhető:\n        \n            1. /login                   (POST)             \n            2. /register                (POST)\n            3. /products                (GET)\n            4. /product/:id             (GET)\n\n        - vásárlói és admin tokennel is elérhető:\n\n            5. /profile                 (GET)\n            6 /profileupdate            (PUT)\n            7. /order                   (POST)\n            8. /ownorders               (GET)\n    \n\n        - Adminiszrátor tokennel elérhető:\n        \n            9. /adminregister           (POST)\n            10. /orders                 (GET)\n            11. /order/:id              (GET)\n            12. /order/:id              (PUT)\n            13. /order/:id              (DELETE)\n            14. /user/:id               (GET)\n            15. /users                  (GET)\n            16. /user/:id               (PUT)\n            17. /user/:id               (DELETE)\n            18. /newproduct             (POST)\n            19. /product/:id            (PUT)\n            20. /product/:id            (DELETE)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-horvath%2Fegs-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomas-horvath%2Fegs-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-horvath%2Fegs-backend/lists"}