{"id":15949214,"url":"https://github.com/viniarruda/gobarber-backend","last_synced_at":"2026-01-15T22:40:49.125Z","repository":{"id":44112933,"uuid":"194187822","full_name":"viniarruda/gobarber-backend","owner":"viniarruda","description":"Api GoBarber","archived":false,"fork":false,"pushed_at":"2022-12-22T11:38:40.000Z","size":1445,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T14:38:38.970Z","etag":null,"topics":["express","jwt","nodejs","sequelize"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/viniarruda.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}},"created_at":"2019-06-28T01:47:02.000Z","updated_at":"2019-09-04T01:22:42.000Z","dependencies_parsed_at":"2023-01-30T07:50:12.116Z","dependency_job_id":null,"html_url":"https://github.com/viniarruda/gobarber-backend","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/viniarruda%2Fgobarber-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Fgobarber-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Fgobarber-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniarruda%2Fgobarber-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viniarruda","download_url":"https://codeload.github.com/viniarruda/gobarber-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247112710,"owners_count":20885605,"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":["express","jwt","nodejs","sequelize"],"created_at":"2024-10-07T12:13:24.076Z","updated_at":"2026-01-15T22:40:49.119Z","avatar_url":"https://github.com/viniarruda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoBarber Api\r\n\r\n- ORM\r\n- Migration\r\n- Seeds\r\n- MVC\r\n- Sequelize\r\n- Postbird\r\n- JWT\r\n- Bcrypt\r\n- MD5Online\r\n- Nodemailer\r\n- Mailtrap\r\n- Redis for queue\r\n- Beequeue\r\n- [Sentry](https://sentry.io) for errors\r\n- Youch\r\n\r\n-eslint\r\n`yarn eslint --fix src --ext .js`\r\n\r\n## Docker\r\n\r\n`docker ps`\r\n\r\n`docker start database`\r\n\r\n`docker run --name mongobarber -p 27017:27017 -d -t mongo`\r\n\r\n`docker run --name redisbarber -p 6379:6379 -d -t redis:alpine`\r\n\r\n`docker ps` // All Docker containers run\r\n\r\n`docker ps -a` // All Docker containers\r\n\r\n### Sequelize\r\n\r\n`yarn sequelize db:migrate`\r\n\r\n`yarn sequelize db:migrate:undo` // Last migrate\r\n\r\n`yarn sequelize db:migrate:undo:all` // All migrations\r\n\r\n### Helpers\r\n\r\n- [Api pattern](https://docs.nestjs.com/recipes/cqrs)\r\n- [Api pattern](https://medium.com/laraveltips/voc%C3%AA-entende-repository-pattern-voc%C3%AA-est%C3%A1-certo-disso-d739ecaf544e)\r\n\r\n```\r\n{\r\n\t\"name\": \"Customer\",\r\n\t\"email\": \"customer@email.com\",\r\n\t\"password\": \"test123\"\r\n},\r\n{\r\n\t\"name\": \"Professional\",\r\n\t\"email\": \"professional@email.com\",\r\n\t\"password\": \"test123\",\r\n\t\"provider\": true\r\n}\r\n```\r\n\r\n### NOTES\r\n\r\nSepare queue because is better to run in other instance\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniarruda%2Fgobarber-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviniarruda%2Fgobarber-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniarruda%2Fgobarber-backend/lists"}