{"id":22647991,"url":"https://github.com/dsoaress/node-clean-arch-with-fp","last_synced_at":"2026-04-26T20:31:57.600Z","repository":{"id":250096450,"uuid":"832919188","full_name":"dsoaress/node-clean-arch-with-fp","owner":"dsoaress","description":"POC of Clean Architecture  with a functional programming approach","archived":false,"fork":false,"pushed_at":"2026-04-22T16:41:13.000Z","size":550,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-22T18:34:45.508Z","etag":null,"topics":["clean-architecture","functional-programming","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dsoaress.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-24T02:07:42.000Z","updated_at":"2026-01-05T06:53:26.000Z","dependencies_parsed_at":"2025-05-30T11:55:36.468Z","dependency_job_id":"a49c55db-e149-40e2-b847-68a014b1543a","html_url":"https://github.com/dsoaress/node-clean-arch-with-fp","commit_stats":null,"previous_names":["dsoaress/node-clean-arch-with-fp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dsoaress/node-clean-arch-with-fp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsoaress%2Fnode-clean-arch-with-fp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsoaress%2Fnode-clean-arch-with-fp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsoaress%2Fnode-clean-arch-with-fp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsoaress%2Fnode-clean-arch-with-fp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsoaress","download_url":"https://codeload.github.com/dsoaress/node-clean-arch-with-fp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsoaress%2Fnode-clean-arch-with-fp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32312235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: 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":["clean-architecture","functional-programming","nodejs","typescript"],"created_at":"2024-12-09T07:36:58.428Z","updated_at":"2026-04-26T20:31:57.583Z","avatar_url":"https://github.com/dsoaress.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Functional Clean Architecture POC\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dsoaress_node-clean-arch-with-fp\u0026metric=alert_status)](https://sonarcloud.io/summary/overall?id=dsoaress_node-clean-arch-with-fp)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=dsoaress_node-clean-arch-with-fp\u0026metric=coverage)](https://sonarcloud.io/summary/overall?id=dsoaress_node-clean-arch-with-fp)\n\nThis project is a Proof of Concept (POC) for implementing a backend using Node.js, TypeScript, and Express, adhering to the principles of Clean Architecture without object-oriented. The main objective was to explore the feasibility of applying Clean Architecture with a functional programming approach, avoiding object-oriented design.\n\n## Disclaimer\n\nI am not an expert in functional programming. This project was created as an experiment to explore the possibility of implementing a backend system without object-oriented programming.\n\n## How to Run the Project\n\n### 1. Prerequisites\n\nMake sure you have the following installed on your machine:\n\n- **Node.js**: [Download Node.js](https://nodejs.org/)\n- **pnpm**: Install it using the command: `npm install -g pnpm`\n- **Docker**: [Download Docker](https://www.docker.com/get-started)\n\n### 2. Environment Setup\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/dsoaress/node-clean-arch-with-fp.git\n   cd node-clean-arch-with-fp\n   ```\n\n2. **Install Dependencies:**\n\n   ```bash\n   pnpm install\n   ```\n\n3. **Environment Configuration:**\n\n   Copy the `.env.example` file and rename it to `.env`:\n\n   ```bash\n   cp .env.example .env\n   ```\n\n### 3. Database Setup\n\nThe project uses a PostgreSQL database, which can be run via Docker. To start the database:\n\n1. **Start Docker Compose:**\n\n   ```bash\n   docker-compose up -d\n   ```\n\n   This will start the container with the PostgreSQL database.\n\n2. **Initial Database Setup:**\n\n   Run the following command to run the database migrations:\n\n   ```bash\n    pnpm prisma migrate deploy\n   ```\n\n### 4. Start the Project\n\nTo start the project in development mode, use the command:\n\n```bash\npnpm dev\n```\n\nThe project should now be running and accessible on `http://localhost:3000`.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request or open an issue if you find a bug or have a suggestion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsoaress%2Fnode-clean-arch-with-fp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsoaress%2Fnode-clean-arch-with-fp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsoaress%2Fnode-clean-arch-with-fp/lists"}