{"id":26587502,"url":"https://github.com/eduardofranca1/typescript-api","last_synced_at":"2026-04-13T14:31:07.784Z","repository":{"id":282400506,"uuid":"928316904","full_name":"eduardofranca1/typescript-api","owner":"eduardofranca1","description":"This project was created using TypeScript, SOLID principles, and Design Patterns","archived":false,"fork":false,"pushed_at":"2025-04-22T12:34:43.000Z","size":643,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T23:46:05.462Z","etag":null,"topics":["dependency-injection","design-patterns","express","factory-method","integration-test","jest","mongodb","nodejs","solid","supertest","typescript","unit-test","zod"],"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/eduardofranca1.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-06T12:43:17.000Z","updated_at":"2025-04-22T12:34:47.000Z","dependencies_parsed_at":"2025-06-26T23:44:48.773Z","dependency_job_id":"d211a7c1-ae11-45a5-b005-11d244ae1161","html_url":"https://github.com/eduardofranca1/typescript-api","commit_stats":null,"previous_names":["eduardofranca1/typescript-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eduardofranca1/typescript-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardofranca1%2Ftypescript-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardofranca1%2Ftypescript-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardofranca1%2Ftypescript-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardofranca1%2Ftypescript-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduardofranca1","download_url":"https://codeload.github.com/eduardofranca1/typescript-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardofranca1%2Ftypescript-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dependency-injection","design-patterns","express","factory-method","integration-test","jest","mongodb","nodejs","solid","supertest","typescript","unit-test","zod"],"created_at":"2025-03-23T12:20:09.262Z","updated_at":"2026-04-13T14:31:07.765Z","avatar_url":"https://github.com/eduardofranca1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript API\n\nThis project was created using TypeScript, SOLID principles, and Design Patterns.\n\n**The focus of this project is to show how to implement the SOLID principles and Design Patterns (Dependency Injection and Factory Method).**\n\n### Technologies:\n\n- [NodeJS](https://nodejs.org/en/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [Express](https://expressjs.com/pt-br/)\n- [Jest](https://jestjs.io/)\n- [MongoDB](https://www.mongodb.com/)\n- [Zod](https://zod.dev/)\n\n### Topics\n\n- SOLID\n\n### Design Patterns\n\n- Dependecy Injection\n- Factory Method\n\n### Features\n\n- CRUD User\n- Data Validation using [Zod](https://zod.dev/)\n- Tests\n\n### How to run the project\n\n- **npm install** (to install node modules)\n- **npm run dev** (to start the server)\n- **npm run build** (to build the project)\n- **npm run test** (to run the tests)\n\n# Routes\n\nHere are the routes that have already been created:\n\n### Users\n\n| `/users`   |                              |                       |     |\n| ---------- | ---------------------------- | --------------------- | --- |\n| **Method** | **Route**                    | **Description**       |\n| POST       | `/users`                     | create a new user     |\n| GET        | `/users/:id`                 | get one user by id    |\n| GET        | `/users`                     | get all users         |\n| PUT        | `/users/:id`                 | update one user       |\n| PUT        | `/users/update-password/:id` | update user password  |\n| DELETE     | `/users/:id`                 | delete one user by id |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardofranca1%2Ftypescript-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduardofranca1%2Ftypescript-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardofranca1%2Ftypescript-api/lists"}