{"id":22468409,"url":"https://github.com/kelsonbatista/project-api-typescript","last_synced_at":"2025-03-27T15:44:21.051Z","repository":{"id":152492470,"uuid":"504400907","full_name":"kelsonbatista/project-api-typescript","owner":"kelsonbatista","description":"Project API Typescript (Trybesmith)","archived":false,"fork":false,"pushed_at":"2022-06-17T05:07:29.000Z","size":396,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T19:29:34.484Z","etag":null,"topics":["api-rest","msc","typescript"],"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/kelsonbatista.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":"2022-06-17T05:07:17.000Z","updated_at":"2022-06-17T05:08:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"2323a08a-d680-426e-bc87-4980f4af3a0a","html_url":"https://github.com/kelsonbatista/project-api-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-api-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-api-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-api-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-api-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelsonbatista","download_url":"https://codeload.github.com/kelsonbatista/project-api-typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245874096,"owners_count":20686697,"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":["api-rest","msc","typescript"],"created_at":"2024-12-06T11:16:38.869Z","updated_at":"2025-03-27T15:44:21.045Z","avatar_url":"https://github.com/kelsonbatista.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About the project / *Sobre o projeto*\n\nThis is a backend project about an API RESTful using MSC architecture (model-service-controller) in TYPESCRIPT and Classes. The API is CRUD system of products and orders, also login with token check.\n\n*Esse é um projeto backend sobre uma API RESTful utilizando a arquitetura MSC (model-service-controller) em TYPESCRIPT e Classes. A API é um sistema CRUD de produtos e compras, também login com verificação por token.*\n\n---\n# Skills / *Habilidades*\n\n - TYPESCRIPT. *TYPESCRIPT*\n - API development. *Desenvolvimento de API*\n - MSC architecture (model-service-controller). *Arquitetura MSC (model-service-controller)*\n - Validation with JOI. *Validação com JOI*\n - Token generation with JWT. *Geração de Token com JWT.*\n - Better commits using commitLint, husky and commitizen. *Melhores commits utilizando commitLint, husky e commitizen*\n\n---\n# Endpoints / *Endpoints*\n\n - Login                  http://localhost:3000/login\n - Users (list all)       http://localhost:3000/users\n - Users (list by id)     http://localhost:3000/users/:id\n - Users (create)         http://localhost:3000/users\n - Users (update)         http://localhost:3000/users/:id\n - Users (delete)         http://localhost:3000/users/:id\n - Orders (list)          http://localhost:3000/orders\n - Orders (create)        http://localhost:3000/orders\n - Products (list)        http://localhost:3000/products\n - Products (list by id)  http://localhost:3000/products/:id\n - Products (create)      http://localhost:3000/products\n - Products (update)      http://localhost:3000/products/:id\n - Products (delete)      http://localhost:3000/products/:id\n\n---\n# Deployment / *Implantação*\n\n - docker-compose up -d --build    Start docker with Node and MySQL. *Inicia o docker com Node e MySQL*\n - docker exec -it trybesmith bash Enter in docker command line. *Entra na linha de comando do docker*\n - npm install                     Install all packages . *Instala todos os pacotes*\n - npm start                       Start api. *Inicia a api*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelsonbatista%2Fproject-api-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelsonbatista%2Fproject-api-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelsonbatista%2Fproject-api-typescript/lists"}