{"repo":"thanhdaon/clean-arch-node","free":true,"listed":false,"github":"https://github.com/thanhdaon/clean-arch-node","clone":"git clone https://github.com/thanhdaon/clean-arch-node.git","description":"Clean Architecture, DDD, CQRS with testings in NodeJs and Typescript","language":"TypeScript","stars":10,"topics":["cqrs","ddd","drizzle-orm","honojs","mysql","nodejs","opentelemetry","tracing","typescript","unittest"],"license":null,"category":"databases-storage","readme_excerpt":"Task Management API A Task Management API built with Clean Architecture and Domain-Driven Design (DDD) principles. Domain Role-based access control with two user types: Employee Role - View Assigned Tasks : Can only view tasks assigned to them - Task Status Update : Can update status of their tasks (e.g., \"In Progress\", \"Completed\") Employer Role - Create and Assign Tasks : Create tasks and assign them to specific employees - View All Tasks with Filtering and Sorting : - Filter by assignee or status - Sort by date or status - View Employee Task Summary : List of employees with task counts and completion stats Tech Stack - Runtime : Bun - Framework : Hono with OpenAPI/Swagger - Database : Neon PostgreSQL (serverless) with Drizzle ORM - Authentication : better-auth - Validation : Zod - Observability : OpenTelemetry Setup Prerequisites - Bun installed - Neon PostgreSQL database (or compatible PostgreSQL) Installation Environment Variables Database Setup Running API Documentation Swagger UI available at /api/doc when server is running. Clean Architecture Our approach combines Ports and Adapters pattern with strict dependency rules. - Adapter : How your application talks to the external world. Adapts internal structures to external APIs (SQL queries, HTTP clients, file I/O). - Port : Input to your application - the only way the external world can reach it (HTTP server, CLI command, message subscriber). - Application logic : Thin orchestration layer (\"use cases\"). If you can't tell","default_branch":null,"files":null,"tree":[],"storefront":"/r/thanhdaon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thanhdaon/clean-arch-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}