{"id":13961776,"url":"https://github.com/ltnscp9028/functional-nestjs","last_synced_at":"2025-04-22T20:28:22.208Z","repository":{"id":40574430,"uuid":"482523988","full_name":"ltnscp9028/functional-nestjs","owner":"ltnscp9028","description":"Functional Programming with NestJS, Prisma. immutable, pure, stateless","archived":false,"fork":false,"pushed_at":"2022-05-01T15:58:55.000Z","size":134,"stargazers_count":67,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-10-19T12:16:59.951Z","etag":null,"topics":["nest","nestjs","nestjs-backend","prisma","prisma2","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/ltnscp9028.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}},"created_at":"2022-04-17T12:59:59.000Z","updated_at":"2024-07-11T13:19:47.000Z","dependencies_parsed_at":"2022-08-09T23:31:48.028Z","dependency_job_id":null,"html_url":"https://github.com/ltnscp9028/functional-nestjs","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/ltnscp9028%2Ffunctional-nestjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltnscp9028%2Ffunctional-nestjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltnscp9028%2Ffunctional-nestjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltnscp9028%2Ffunctional-nestjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ltnscp9028","download_url":"https://codeload.github.com/ltnscp9028/functional-nestjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250318095,"owners_count":21410877,"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":["nest","nestjs","nestjs-backend","prisma","prisma2","typescript"],"created_at":"2024-08-08T17:01:25.970Z","updated_at":"2025-04-22T20:28:22.170Z","avatar_url":"https://github.com/ltnscp9028.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Functional-NestJS\nFunctional Programming with NestJS, Prisma.  \nimmutable, pure, stateless.\n\n## 1. Introduction\nA production ready typescript backend repository utilized those libraries:\n- [NestJS](https://nestjs.com) : A progressive Node.js framework\n- [Prisma](https://www.prisma.io/) :  Next-generation Node.js and TypeScript ORM\n- [eslint-plugin-functional](https://github.com/jonaskello/eslint-plugin-functional) disable mutation and promote functional programming lint.\n\n## 2. Curriculum\n### 2.1 Goal\n- Developing a production-ready API with NestJS + Prisma.\n- Learning functional-programming with Typescript.\n\n## 3. Contents\n|index  | Name                                    | start-branch                                                                                             |complete-branch                                                                                      |docs\n|-------|-----------------------------------------|----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n|0      |Setup and integraion Prisma with nestJS  |[start/integration-prisma](https://github.com/ltnscp9028/functional-nestjs/tree/start/integration/prisma) |[integration-prisma](https://github.com/ltnscp9028/functional-nestjs/tree/integration/prisma)        |[docs/integration-prisma](https://github.com/ltnscp9028/functional-nestjs/blob/main/docs/1.integration-prisma.md)                   |\n|1      |REST API with type-safe validator        |[start/crud-API](https://github.com/ltnscp9028/functional-nestjs/tree/start/crudAPI)                      |[crud-API](https://github.com/ltnscp9028/functional-nestjs/tree/crudAPI)                             |[docs/crud-API](https://github.com/ltnscp9028/functional-nestjs/blob/main/docs/2.crud-api.md)                                       |\n|2      |Handling Prisma Exception                |@TODO                                                                                                     |@TODO                                                                                                |@TODO                                                                                                                               |\n|3      |Authorization                            |@TODO                                                                                                     |@TODO                                                                                                |@TODO                                                                                                                               |\n|4      |Relation Data Structure                  |@TODO                                                                                                     |@TODO                                                                                                |@TODO                                                                                                                               |\n|5      |Use functional in API                    |@TODO                                                                                                     |@TODO                                                                                                |@TODO                                                                                                                               |\n|6      |Use functional in conditional type       |@TODO                                                                                                     |@TODO                                                                                                |@TODO                                                                                                                               |\n|INF    |More Contents.                           |@TODO                                                                                                     |@TODO                                                                                                |@TODO                                                                                                                               |\n\n* * *\n### 3.1. Setup and integraion Prisma with nestJS\n- 1. Initialize prisma\n- 2. First prisma migration\n- 3. Implement prisma service\n- 4. Use prisma for /users api\n- 5. Implement explicit prisma connect\n\n### 3.2 REST API with type-safe validator\n- 1. Implement user.validator\n- 2. Implement: createUser\n- 3. Implement: getOneUser\n- 4. Implement: updateUser\n- 5. Implement: deleteUser\n- 6. Implement: transform string to number use globalPipe","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltnscp9028%2Ffunctional-nestjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fltnscp9028%2Ffunctional-nestjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltnscp9028%2Ffunctional-nestjs/lists"}