{"id":21754172,"url":"https://github.com/csdev19/express-ts-example","last_synced_at":"2026-04-11T17:07:52.401Z","repository":{"id":111231581,"uuid":"360304061","full_name":"csdev19/express-ts-example","owner":"csdev19","description":"Proyecto de ejemplo de un backend con express usando TS y demas cosillas ","archived":false,"fork":false,"pushed_at":"2021-04-21T21:18:29.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T23:44:02.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csdev19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-04-21T20:56:09.000Z","updated_at":"2021-05-06T20:28:55.000Z","dependencies_parsed_at":"2023-03-25T21:04:12.380Z","dependency_job_id":null,"html_url":"https://github.com/csdev19/express-ts-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdev19%2Fexpress-ts-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdev19%2Fexpress-ts-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdev19%2Fexpress-ts-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdev19%2Fexpress-ts-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csdev19","download_url":"https://codeload.github.com/csdev19/express-ts-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244728235,"owners_count":20500023,"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-26T09:13:01.387Z","updated_at":"2026-04-11T17:07:52.359Z","avatar_url":"https://github.com/csdev19.png","language":"TypeScript","readme":"# Express TS\n\nEste es un modelo de backend construido con typescript en express usando un modelo mas relacionado a objetos para que sea mejor mantenido. A su vez se usan conceptos como DataMappers, DTO, etc.\n\nComponentes usados:\n- Mongoose\n- Passport\n- JWT\n- Eslint\n- Docker\n- dotenv\n\n## Como usar Eslint\n\n[Eslint](https://eslint.org/docs/user-guide/getting-started)\n\n## Ejemplo de peticion HTTP por JS con Bearer\n```js\nfetch(\"http://localhost:8089/protected\", {\n  \"method\": \"GET\",\n  \"headers\": {\n    \"Bearer\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNyaXN0aWFuc290b21heW9yMTkxMkBnbWFpbC5jb20iLCJpc0xvZ2VkIjp0cnVlLCJpYXQiOjE2MTEyMDAxMjMsImV4cCI6MTYxMTIwMTYyM30.ZPspcTr6ioPeJ7LJ36HE2HB-L4Dgv7w0OZiggeJ4Lys\",\n    \"Authorization\": \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNyaXN0aWFuc290b21heW9yMTkxMkBnbWFpbC5jb20iLCJpc0xvZ2VkIjp0cnVlLCJpYXQiOjE2MTEyMDAxMjMsImV4cCI6MTYxMTIwMTYyM30.ZPspcTr6ioPeJ7LJ36HE2HB-L4Dgv7w0OZiggeJ4Lys\"\n  }\n})\n.then(response =\u003e {\n  console.log(response);\n})\n.catch(err =\u003e {\n  console.error(err);\n});\n```\n\n## Contribuidores\n- Cristian Sotomayor\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdev19%2Fexpress-ts-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsdev19%2Fexpress-ts-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdev19%2Fexpress-ts-example/lists"}