{"id":23972340,"url":"https://github.com/domicoder/devskills-api","last_synced_at":"2026-06-12T06:31:55.851Z","repository":{"id":271018715,"uuid":"912159695","full_name":"domicoder/devskills-api","owner":"domicoder","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-05T05:20:41.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T15:23:42.916Z","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/domicoder.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":"2025-01-04T19:12:36.000Z","updated_at":"2025-01-05T05:20:44.000Z","dependencies_parsed_at":"2025-01-04T20:35:59.225Z","dependency_job_id":"8c3fba08-d7d8-47c8-bccc-f8fd9beca0ad","html_url":"https://github.com/domicoder/devskills-api","commit_stats":null,"previous_names":["domicoder/devskills-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/domicoder/devskills-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domicoder%2Fdevskills-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domicoder%2Fdevskills-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domicoder%2Fdevskills-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domicoder%2Fdevskills-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domicoder","download_url":"https://codeload.github.com/domicoder/devskills-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domicoder%2Fdevskills-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34232790,"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-12T02:00:06.859Z","response_time":109,"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":"2025-01-07T03:03:34.773Z","updated_at":"2026-06-12T06:31:55.834Z","avatar_url":"https://github.com/domicoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\u003cimg src=\"https://img001.prntscr.com/file/img001/KE3MGpe3Q06D0p71rFFupw.jpeg\" alt=\"Web Preview\" /\u003e\n\u003c/h1\u003e\n\n## Demo\n\nOpen Demo API: [Restify-devskills](https://restify-devskills-ade2f2fd26de.herokuapp.com/)\n\n`$ GET` `/api/members`\n\n`$ POST` `/api/members`\n\n`$ POST` `/auth`\n\n## API\n\nLa pagina debe poder comunicarse con la API de este repositorio. La misma consta de 2 endpoints\n\n-   `GET` `http://localhost:8081/api/members` - para obtener los miembros\n-   `POST` `http://localhost:8081/api/members` - para añadir un nuevo miembro\n-   Para poder utilizarlos, el Authorization header debe formatearse como `Bearer [token]`.\n\n## AUTH\n\nPara poder utilizar los 2 endpoints anteriores debe obtener un token y enviarlo en las llamados.\n\n-   `POST` `http://localhost:8081/auth` - para obtener el token\n    body:\n    \"username\": \"user\"\n    \"password\": \"pass\"\n\n### Start API server\n\n-   Clonar este repositorio\n-   `git clone https://github.com/domicoder/devskills-api.git`\n-   Use NPM version (needs NVM)\n-   `nvm use`\n-   Instalar las dependencias\n-   `npm install`\n-   `npm start`\n\n### Validaciones de la API\n\n-   **firstName, lastName y address:** Mas de 1 caracter, sin espacios a los costados (trim).\n-   **ssn:** Tener el formato ###-##-#### (cada # es un numero, los guiones son obligatorios).\n-   Si el front no cumple las validaciones debe deshabilitar el boton de enviar.\n\n## JWK\n\n-   Crear un archivo `config.json`\n-   Agregar lo siguiente\n\n```\n{\n    \"jwt\": {\n        \"secret\": \"SECRET_KEY_TOKEN_HERE\"\n    }\n}\n```\n\n## Environtment variables\n\n-   Crear dos archivos: `.env` \u0026 `.env.production`\n\n```\nRESTIFY_APP_USER=USER\nRESTIFY_APP_PASSWORD=PASSWORD\nRESTIFY_APP_JWT_SECRET=SECRET_KEY_TOKEN_HERE\nPORT=8081\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomicoder%2Fdevskills-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomicoder%2Fdevskills-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomicoder%2Fdevskills-api/lists"}