{"id":22564297,"url":"https://github.com/azrielx86/imagesapi","last_synced_at":"2026-06-23T12:02:14.689Z","repository":{"id":265832587,"uuid":"895868332","full_name":"Azrielx86/ImagesAPI","owner":"Azrielx86","description":"Programa de Ejemplo para un servidor NFS y docker","archived":false,"fork":false,"pushed_at":"2024-11-29T04:44:47.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T03:32:56.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Azrielx86.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-11-29T04:38:10.000Z","updated_at":"2024-11-29T04:45:16.000Z","dependencies_parsed_at":"2024-12-02T07:33:41.992Z","dependency_job_id":null,"html_url":"https://github.com/Azrielx86/ImagesAPI","commit_stats":null,"previous_names":["azrielx86/imagesapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Azrielx86/ImagesAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrielx86%2FImagesAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrielx86%2FImagesAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrielx86%2FImagesAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrielx86%2FImagesAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azrielx86","download_url":"https://codeload.github.com/Azrielx86/ImagesAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrielx86%2FImagesAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34686728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-07T23:15:02.054Z","updated_at":"2026-06-23T12:02:14.638Z","avatar_url":"https://github.com/Azrielx86.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Images API\n\nAPI de ejemplo para subida y obtención de archivos utilizando Express y TypeScript.\n\nEs recomendable usarlo en con varios contenedores de docker y un volumen nfs compartido :eyes:\n\nPrograma realizado para la materia de Sistemas Distribuidos.\n\n## Creación de un volúmen NFS en Docker\n\n```bash\ndocker volume create \\\n--driver local \\\n--opt type=nfs \\\n--opt o=addr=10.15.0.1,rw,nfsvers=4 \\\n--opt device=:/srv/nfs/docker \\\nnfs_share\n```\n\n\u003e[!NOTE]\n\u003eEs importante ejecutar primero `npm build` y luego copiar los contenidos de `dist` y el directorio `node_modules` a la raíz del volumen compartido.\n\n## Creación de la red\n\n```bash\ndocker network create --subnet 10.15.0.0/24 --gateway 10.15.0.1 br01\n```\n\n## Uso en contenedor de docker\n\n```bash\ndocker run -it --rm --ip 10.15.0.50 --network br01 -v nfs_share:/srv/nfs/docker -w /srv/nfs/docker --name container01 node:23-alpine index.js\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazrielx86%2Fimagesapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazrielx86%2Fimagesapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazrielx86%2Fimagesapi/lists"}