{"id":19680987,"url":"https://github.com/nitdraig/ninja-challenge-be","last_synced_at":"2026-05-26T16:35:29.334Z","repository":{"id":210769950,"uuid":"727402788","full_name":"nitdraig/ninja-challenge-be","owner":"nitdraig","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-04T20:24:59.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T05:36:10.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nitdraig.png","metadata":{"files":{"readme":"README","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}},"created_at":"2023-12-04T19:43:19.000Z","updated_at":"2024-07-24T00:48:00.000Z","dependencies_parsed_at":"2023-12-04T21:43:30.022Z","dependency_job_id":null,"html_url":"https://github.com/nitdraig/ninja-challenge-be","commit_stats":null,"previous_names":["nitdraig/ninja-challenge-be"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitdraig%2Fninja-challenge-be","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitdraig%2Fninja-challenge-be/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitdraig%2Fninja-challenge-be/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitdraig%2Fninja-challenge-be/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitdraig","download_url":"https://codeload.github.com/nitdraig/ninja-challenge-be/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240990716,"owners_count":19889929,"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":[],"created_at":"2024-11-11T18:06:37.005Z","updated_at":"2026-05-26T16:35:29.307Z","avatar_url":"https://github.com/nitdraig.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nUse NODEJS en su versión 20.10.0\nExpress.js en su versión 4.18.2\nUUID, para crear los ID únicos por usuarios\nSwagger-ui-express se usó para poder visualizar el swagger-users-v1.json que trae las especificaciones.solicitadas para el challenge en la ruta http://localhost:3000/api-docs\nEn la carpeta models, está la estructura de creación para los usuarios.\nEn la carpeta routes, las rutas y definiciones de cada elemento del CRUD para el proyecto.\n\nLINK DE REPOSITORIO: https://github.com/nitdraig/ninja-challenge-be\nLINK DE DEPLOY: https://ninja-challenge-be.onrender.com\n\n\nTESTS\n------------------------------------\nLINK DE TESTS: https://api.postman.com/collections/30265373-504ad1f8-32f5-4788-96e2-5789215e0e31?access_key=PMAT-01HGV5XKMEXCMN2CTPT4KHS31E\n\nPara traer usuarios: http://localhost:3000/users/getusers\n    Método GET\n\nPara crear un usuario: http://localhost:3000/users/createUsers\n    Método POST\n    Body json: {\n                \"name\": \"John Doe\",\n                \"email\": \"john@example.com\",\n                \"birthDate\": \"1990-01-01\",\n                \"address\": {\n                    \"street\": \"123 Main St\",\n                    \"state\": \"CA\",\n                    \"city\": \"Los Angeles\",\n                    \"country\": \"USA\",\n                    \"zip\": \"90001\"\n                            }\n                }\n\n\nPara modificar usuarios: http://localhost:3000/users/updateUsersById/[IDUSUARIO]\n    Método PUT\n     Body json: {\n                \"name\": \"John Doe\",\n                \"email\": \"john@example.com\",\n                \"birthDate\": \"1990-01-01\",\n                \"address\": {\n                    \"street\": \"123 Main St\",\n                    \"state\": \"CA\",\n                    \"city\": \"Los Angeles\",\n                    \"country\": \"USA\",\n                    \"zip\": \"90001\"\n                            }\n                }\n\n            Se puede modificar cualquier punto de la información cargada sobre el usuario.\n\nPara eliminar usuarios: http://localhost:3000/users/deleteUsersById/[IDUSUARIO]\n    Método DELETE\n        \n        Usando el ID provisto en cada usuario, se puede eliminar el usuario en particular.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitdraig%2Fninja-challenge-be","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitdraig%2Fninja-challenge-be","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitdraig%2Fninja-challenge-be/lists"}