{"id":26675491,"url":"https://github.com/gricar/store-manager-api","last_synced_at":"2026-04-14T05:31:13.813Z","repository":{"id":117719306,"uuid":"507053113","full_name":"gricar/store-manager-API","owner":"gricar","description":"API RESTful para gerenciar vendas utilizando MySQL","archived":false,"fork":false,"pushed_at":"2022-11-11T19:17:54.000Z","size":350,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T03:18:41.283Z","etag":null,"topics":["api-rest","docker","express","express-rescue","middlewares","model-service-controller","msc","mysql","nodejs"],"latest_commit_sha":null,"homepage":"","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/gricar.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-24T15:09:07.000Z","updated_at":"2022-11-11T19:20:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"869ea3ca-72ac-4a12-bf57-c91d2a6e746a","html_url":"https://github.com/gricar/store-manager-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gricar/store-manager-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gricar%2Fstore-manager-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gricar%2Fstore-manager-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gricar%2Fstore-manager-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gricar%2Fstore-manager-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gricar","download_url":"https://codeload.github.com/gricar/store-manager-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gricar%2Fstore-manager-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":["api-rest","docker","express","express-rescue","middlewares","model-service-controller","msc","mysql","nodejs"],"created_at":"2025-03-26T03:18:18.309Z","updated_at":"2026-04-14T05:31:13.808Z","avatar_url":"https://github.com/gricar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eBem-Vindo ao Store Manager \u003c/h2\u003e\n\n### Descrição\nDesenvolver uma API seguindo os princípios de RESTful utilizando a arquitetura MSC (model-service-controller) para um sistema de gerenciamento de vendas em que será possível criar, visualizar, deletar e atualizar produtos e vendas utilizando o banco MySQL para a gestão de dados.\n\n\u003c!--\nThis application encourages the use of:\n\n- Develop an API of a `CRUD` (Create, Read, Update and Delete) of posts in `Node.js` using the `sequelize` package;\n\n- Develop some endpoints that will be connected to your database following `REST` principles;\n\n- According to the business rule of the application, `association` relationships between database tables must be developed.\n\n### Skills:\n\n1. Initialize a container running with `docker` 🐳 \n2. Asynchronous flows\n3. Creating HTTP APIs with Node via Express\n4. Receiving data from routes via: body, headers, query string, params\n5. Validation and authentication middlewares\n6. HTTP Status Codes \n\n### Requirements:\n\n- [x] 1 - Create migrations for User, Categories, BlogPosts, PostCategories entities\n\u003cdetails\u003e\n  \u003csummary\u003e2 - Create the endpoints:\u003c/summary\u003e\n\n  - [x] 2.1 - POST /login\n  - [x] 2.2 - POST /user\n  - [x] 2.3 - GET /user\n  - [x] 2.4 - GET /user/:id\n  - [x] 2.5 - POST /categories\n  - [x] 2.6 - GET /categories\n  - [x] 2.7 - POST /post\n  - [x] 2.8 - GET /post\n  - [x] 2.9 - GET /post/:id\n  - [x] 2.10 - PUT /post/:id\n  - [x] 2.11 - DELETE /post/:id\n  - [x] 2.12 - DELETE /user/me\n\u003c/details\u003e\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgricar%2Fstore-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgricar%2Fstore-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgricar%2Fstore-manager-api/lists"}