{"id":22468414,"url":"https://github.com/kelsonbatista/project-blog-api","last_synced_at":"2026-04-13T14:33:40.535Z","repository":{"id":152492468,"uuid":"496467153","full_name":"kelsonbatista/project-blog-api","owner":"kelsonbatista","description":"Backend blog API","archived":false,"fork":false,"pushed_at":"2022-05-26T03:27:45.000Z","size":592,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T02:39:51.907Z","etag":null,"topics":["api","architecture","commitizen","commitlint","docker","docker-compose","express","husky","joi","joi-validation","jsonwebtoken","jwt","jwt-authentication","msc","mysql","node","sequelize"],"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/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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-26T03:23:12.000Z","updated_at":"2022-05-26T03:30:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fb82b38-b16f-4b14-97db-5994374c0e1e","html_url":"https://github.com/kelsonbatista/project-blog-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kelsonbatista/project-blog-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-blog-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-blog-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-blog-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-blog-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelsonbatista","download_url":"https://codeload.github.com/kelsonbatista/project-blog-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelsonbatista%2Fproject-blog-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757481,"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":["api","architecture","commitizen","commitlint","docker","docker-compose","express","husky","joi","joi-validation","jsonwebtoken","jwt","jwt-authentication","msc","mysql","node","sequelize"],"created_at":"2024-12-06T11:16:39.498Z","updated_at":"2026-04-13T14:33:40.505Z","avatar_url":"https://github.com/kelsonbatista.png","language":"JavaScript","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) with SEQUELIZE. The API is a content management (blog) with login system which it is possible to create, view, delete and update information related to posts and users, using a MySQL database for data managing.\n\n*Esse é um projeto backend sobre uma API RESTful utilizando a arquitetura MSC (model-service-controller) com SEQUELIZE. A API é um sistema de gerenciamento de conteúdo (blog) e login em que é possível criar, visualizar, deletar e atualizar informações relacionadas à postagens e usuários, utilizando o banco MySQL para a gestão de dados.*\n\n---\n# Skills / *Habilidades*\n\n - API development. *Desenvolvimento de API*\n - MSC architecture (model-service-controller). *Arquitetura MSC (model-service-controller)*\n - Sequelize. *Sequelize*\n - MySQL database with relationships. *Banco de dados MySQL com relacionamentos*\n - Operations in the database though API. *Operações em banco de dados através da API*\n - Validation with JOI. *Validação com JOI*\n - Token generation with JWT. *Geração de Token com JWT.*\n - Docker. *Docker*\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/user\n - Users (list by id)     http://localhost:3000/user/:id\n - Users (create)         http://localhost:3000/user\n - Users (update)         http://localhost:3000/user/:id\n - Users (delete)         http://localhost:3000/user/:id\n - Users (delete account) http://localhost:3000/user/me\n - Categories (list)      http://localhost:3000/categories\n - Categories (create)    http://localhost:3000/categories\n - Post (search)          http://localhost:3000/post/search\n - Post (list)            http://localhost:3000/post\n - Post (list by id)      http://localhost:3000/post/:id\n - Post (create)          http://localhost:3000/post\n - Post (update)          http://localhost:3000/post/:id\n - Post (delete)          http://localhost:3000/post/: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 blogs_api 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 run prestart               Create DB and tables. *Cria o BD e as tabelas*\n - npm run seed                   Insert sample data in DB. *Insere dados de exemplo no BD*\n - npm run debug                  Start server with nodemon. *Inicia o servidor com nodemon*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelsonbatista%2Fproject-blog-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelsonbatista%2Fproject-blog-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelsonbatista%2Fproject-blog-api/lists"}