{"id":27047204,"url":"https://github.com/rishant/nodejs-express-mysql-poc","last_synced_at":"2025-10-13T03:37:34.696Z","repository":{"id":249608615,"uuid":"831978027","full_name":"rishant/nodejs-express-mysql-poc","owner":"rishant","description":"nodejs express mysql poc","archived":false,"fork":false,"pushed_at":"2024-07-22T16:00:20.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T20:49:06.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rishant.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":"2024-07-22T05:39:18.000Z","updated_at":"2024-07-22T16:00:23.000Z","dependencies_parsed_at":"2025-04-05T06:38:47.542Z","dependency_job_id":null,"html_url":"https://github.com/rishant/nodejs-express-mysql-poc","commit_stats":null,"previous_names":["rishant/nodejs-express-mysql-poc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishant/nodejs-express-mysql-poc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fnodejs-express-mysql-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fnodejs-express-mysql-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fnodejs-express-mysql-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fnodejs-express-mysql-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishant","download_url":"https://codeload.github.com/rishant/nodejs-express-mysql-poc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fnodejs-express-mysql-poc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013517,"owners_count":26085368,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-04-05T06:28:41.384Z","updated_at":"2025-10-13T03:37:34.662Z","avatar_url":"https://github.com/rishant.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\"# nodejs-express-mysql-poc\" \n\n### `Install Project Dependencies and Start Application`\n\n    cmd:./\u003e npm install\n    cmd:./\u003e npm start\n\n### `Swagger UI`\n    \n    http://localhost:3000/api-docs\n\n## Key Differences\n```\nAbstraction Level: Repositories generally offer a higher level of abstraction and can include business logic, whereas DAOs are more focused on low-level data access.\n\nDomain vs. Data Access: Repositories are often used in the context of domain-driven design and work with domain entities. DAOs are more concerned with the data access layer and often interact more directly with the database.\n\nUsage Context: Repositories are typically used in applications where domain logic and business rules are significant. DAOs are used where the focus is on managing data access and storage.\n\nIn summary, the Repository pattern provides a higher-level abstraction for managing data, often integrating more closely with domain logic, while the DAO pattern provides a lower-level abstraction focused specifically on data persistence and retrieval.\n```\n\n```\nexpress-mysql-app/\n├── src/\n│   ├── config/\n│   │   ├── app.config.js\n│   │   └── swagger.config.js\n│   ├── controllers/\n│   │   └── user.controller.js\n│   ├── dao/\n│   │   └── user.dao.js\n│   ├── dto/\n│   │   ├── user.dto.js\n│   │   └── response.dto.js\n│   ├── entities/\n│   │   └── user.js\n│   ├── mappers/\n│   │   └── user.mapper.js\n│   ├── repositories/\n│   │   └── user.repository.js\n│   ├── routes/\n│   │   └── user.routes.js\n│   ├── services/\n│   │   └── user.service.js\n│   ├── utils/\n│   │   └── db.connection.js\n│   └── app.js\n├── Dockerfile\n├── docker-compose.yaml\n├── init_db.sql\n└── package.json\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishant%2Fnodejs-express-mysql-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishant%2Fnodejs-express-mysql-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishant%2Fnodejs-express-mysql-poc/lists"}