{"id":29507231,"url":"https://github.com/joaogbrieldev/clean-node-api","last_synced_at":"2026-02-07T17:32:04.676Z","repository":{"id":304172826,"uuid":"1017970420","full_name":"joaogbrieldev/clean-node-api","owner":"joaogbrieldev","description":"RESTful API in Node.js using TypeScript, Clean Architecture, and TDD. Focused on best development practices to create scalable and easy-to-maintain applications.","archived":false,"fork":false,"pushed_at":"2025-09-04T23:47:09.000Z","size":485,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-05T01:20:30.451Z","etag":null,"topics":["decorator-pattern","jest","nodejs","tdd","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaogbrieldev.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,"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-07-11T11:43:53.000Z","updated_at":"2025-09-04T23:47:12.000Z","dependencies_parsed_at":"2025-07-11T15:10:38.450Z","dependency_job_id":"7482acda-afcc-4429-9693-b295c7cb164e","html_url":"https://github.com/joaogbrieldev/clean-node-api","commit_stats":null,"previous_names":["joaogbrieldev/clean-node-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/joaogbrieldev/clean-node-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogbrieldev%2Fclean-node-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogbrieldev%2Fclean-node-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogbrieldev%2Fclean-node-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogbrieldev%2Fclean-node-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaogbrieldev","download_url":"https://codeload.github.com/joaogbrieldev/clean-node-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaogbrieldev%2Fclean-node-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29201117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["decorator-pattern","jest","nodejs","tdd","typescript"],"created_at":"2025-07-16T03:10:24.553Z","updated_at":"2026-02-07T17:32:04.672Z","avatar_url":"https://github.com/joaogbrieldev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Coverage Status](https://coveralls.io/repos/github/rmanguinho/clean-ts-api/badge.svg)](https://coveralls.io/github/rmanguinho/clean-ts-api)\n[![Known Vulnerabilities](https://snyk.io/test/github/rmanguinho/clean-ts-api/badge.svg)](https://snyk.io/test/github/rmanguinho/clean-ts-api)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)\n[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](https://opensource.org/licenses/)\n[![Open Source](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://opensource.org/)\n\n# **Clean Node API**\n\n## [**Link to API documentation**](http://fordevs.herokuapp.com/api-docs)\n\n\u003e ## APIs built\n\n1. [Register](./requirements/signup.md)\n2. [Login](./requirements/login.md)\n3. [Create poll](./requirements/add-survey.md)\n4. [List poll](./requirements/load-surveys.md)\n5. [Answer the poll](./requirements/save-survey-result.md)\n6. [Poll result](./requirements/load-survey-result.md)\n\n\u003e ## Principles\n\n- Single Responsibility Principle (SRP)\n- Open Closed Principle (OCP)\n- Liskov Substitution Principle (LSP)\n- Interface Segregation Principle (ISP)\n- Dependency Inversion Principle (DIP)\n- Separation of Concerns (SOC)\n- Don't Repeat Yourself (DRY)\n- You Aren't Gonna Need It (YAGNI)\n- Keep It Simple, Silly (KISS)\n- Composition Over Inheritance\n- Small Commits\n\n\u003e ## Design Patterns\n\n- Factory\n- Adapter\n- Composite\n- Decorator\n- Proxy\n- Dependency Injection\n- Abstract Server\n- Composition Root\n- Builder\n- Singleton\n\n\u003e ## Methodologies and Designs\n\n- TDD\n- Clean Architecture\n- DDD\n- Conventional Commits\n- GitFlow\n- Modular Design\n- Dependency Diagrams\n- Use Cases\n- Continuous Integration\n- Continuous Delivery\n- Continuous Deployment\n\n\u003e ## Libraries and Tools\n\n- NPM\n- Typescript\n- Git\n- Docker\n- Jest\n- MongoDb\n- Travis CI\n- Swagger\n- Bcrypt\n- JsonWebToken\n- Faker\n- Coveralls\n- Validator\n- Express\n- Apollo Server Express\n- Graphql\n- Graphql ISO Date\n- Graphql Scalars\n- Graphql Tools\n- Supertest\n- Husky\n- Lint Staged\n- Eslint\n- Standard Javascript Style\n- Sucrase\n- Nodemon\n- Rimraf\n- In-Memory MongoDb Server\n- MockDate\n- Module-Alias\n- Copyfiles\n- Npm Check\n- Bson ObjectId\n- Apollo Server Integration Testing\n\n\u003e ## Node Features\n\n- API Documentation with Swagger\n- REST API with Express\n- GraphQL with Apollo Server\n- Error Logging\n- Security (Hashing, Encryption, and Encoding)\n- CORS\n- Middleware\n- Route Access Levels (Admin, User, and Anonymous)\n- Deploy to Heroku\n- Serve Static Files\n\n\u003e ## GraphQL Features\n\n- Types\n- Queries\n- Mutations\n- Resolvers\n- Directives\n- Scalars\n- Plugins\n\n\u003e ## Git Features\n\n- Alias\n- Custom Logging\n- Branch\n- Reset\n- Amend\n- Tag\n- Stash\n- Rebase\n- Merge\n\n\u003e ## Typescript Features\n\n- Advanced OOP\n- Interface\n- TypeAlias\n- Namespace\n- Utility Types\n- Path Modularization\n- Configurations\n- Build\n- Deploy\n- Using Breakpoints\n\n\u003e ## GraphQL Features\n\n- Resolvers\n- Type Definitions\n- Directives\n- Scalars\n- Plugins\n- Error Handling\n\n\u003e ## Test Features\n\n- Unit Tests\n- Integration Tests (Rest API \u0026 GraphQL)\n- Test Coverage\n- Test Doubles\n-Mocks\n- Stubs\n- Spies\n- Fakes\n\n\u003e ## Features of MongoDb\n\n- Connect and Reconnect\n- Collections\n- InsertOne and InserMany\n- Find, FindOne and FindOneAndUpdate\n- DeleteMany\n- UpdateOne\n- Aggregation (Match, Group, Unwind, Lookup, AddFields, Project, Sort)\n- ObjectId\n- Upsert and ReturnOriginal\n- Push, Divide, Multiply, ArrayElemAt, Cond, Sum\n- Filter, Map, Reduce, MergeObjects, ConcatArrays\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaogbrieldev%2Fclean-node-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaogbrieldev%2Fclean-node-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaogbrieldev%2Fclean-node-api/lists"}