{"slug":"nestjs","group":"backend","title":"NestJS","short":"Framework Node.js z modułami, wstrzykiwaniem zależności i dekoratorami – porządek w większym API.","icon":"boxes","aliases":["NestJS","Nest.js","Nest"],"order":802,"status":"available","articleCount":3,"groupTitle":"Backend i API","intro":"","servedLang":"pl","primaryArticle":{"id":"6b09417e5ce40d447918f2cb","slug":"nestjs","title":"NestJS 11 w praktyce – moduły, DI, walidacja, Mongoose, kolejki i architektura heksagonalna","summary":"Przenosimy API zamówień pierogarni do NestJS 11 – moduły i wstrzykiwanie zależności, kontrolery i DTO z class-validator, pipe'y, guardy, interceptory i filtry wyjątków, konfiguracja walidowana Zodem, Mongoose 9, porty i adaptery, zadania cykliczne i kolejka BullMQ oraz testy z podmienionymi zależnościami.","servedLang":"pl","availableLangs":["pl","en"],"topics":["nestjs","hexagonal-architecture","express"],"techs":["node","typescript"],"tags":["nestjs-11","dependency-injection","class-validator","mongoose","bullmq","scheduling","guards","interceptors","jest"],"level":"intermediate","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":23,"stats":{"views":5,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:22.920Z","updatedAt":"2026-11-27T13:08:53.586Z","challengeCount":0,"quizCount":0},"articles":[{"id":"6b0941805ce40d447918f2e9","slug":"swagger-openapi","title":"Swagger i OpenAPI w praktyce – dokumentacja z kodu w NestJS i Express, typowany klient i higiena kontraktu","summary":"Dokumentujemy API pierogarni w OpenAPI – w NestJS przez @nestjs/swagger (plugin CLI, DTO odpowiedzi, klucz API w Swagger UI, wersjonowanie URI, eksport bez bazy), w Expressie ze schematów Zod przez zod-to-openapi i swagger-ui-express. Z tej samej specyfikacji generujemy typowany klient i pilnujemy jej w CI.","servedLang":"pl","availableLangs":["pl","en"],"topics":["swagger-openapi","nestjs","express"],"techs":["node","typescript"],"tags":["openapi-3-1","nestjs-swagger","swagger-ui","zod-to-openapi","openapi-typescript","openapi-fetch","redocly","oasdiff","api-versioning"],"level":"intermediate","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":20,"stats":{"views":3,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:24.373Z","updatedAt":"2026-11-27T13:03:05.184Z","relation":{"position":1,"primary":false,"mainTopic":{"slug":"swagger-openapi","title":"Swagger / OpenAPI"}}},{"id":"6b09417b5ce40d447918f27b","slug":"authentication","title":"Logowanie i rejestracja na backendzie – hasła, sesje, JWT, rotacja refresh tokenów i OAuth","summary":"Budujemy uwierzytelnianie dla API pierogarni w Express 5 (i wariant w NestJS) – haszowanie haseł argon2id, krótkie tokeny JWT i rotowane refresh tokeny w ciasteczkach httpOnly z wykrywaniem ponownego użycia, weryfikacja e-maila, reset hasła, limity i blokady, logowanie przez Google (OIDC + PKCE) oraz lista kontrolna według OWASP ASVS 5.0.","servedLang":"pl","availableLangs":["pl","en"],"topics":["authentication","express","nestjs"],"techs":["node","typescript"],"tags":["argon2","jwt","refresh-token-rotation","cookies","csrf","oauth2","oidc","pkce","owasp-asvs","rate-limiting","password-reset"],"level":"advanced","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":35,"stats":{"views":3,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:19.171Z","updatedAt":"2026-11-27T13:05:06.179Z","relation":{"position":2,"primary":false,"mainTopic":{"slug":"authentication","title":"Logowanie i rejestracja"}}}],"challenges":[],"resources":[{"id":"6b0857b23c96f2d34d0b33bb","type":"repo","provider":"github","url":"https://github.com/nestjs/nest","embedUrl":null,"title":"nestjs/nest","description":"A progressive TypeScript framework for Node.js backends: from a small API in one file to efficient, scalable, enterprise-grade systems 🚀","author":"nestjs","thumbnailUrl":"https://opengraph.githubassets.com/1/nestjs/nest","durationSec":null,"lang":"en","topics":["microservices"],"techs":["node","javascript","typescript"],"tags":["framework","hacktoberfest","javascript","javascript-framework","microservices","nest","system-design","nestjs","node","nodejs"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2017-02-04T20:12:52.000Z","popularity":94,"verifiedAt":"2026-11-26T10:58:32.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b23c96f2d34d0b357d","type":"repo","provider":"github","url":"https://github.com/jmcdo29/testing-nestjs","embedUrl":null,"title":"jmcdo29/testing-nestjs","description":"A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!","author":"jmcdo29","thumbnailUrl":"https://opengraph.githubassets.com/1/jmcdo29/testing-nestjs","durationSec":null,"lang":"en","topics":["cqrs"],"techs":["node","typescript"],"tags":["cqrs","examples","graphql","hacktoberfest","interceptor","mongo","testing","api-design","nestjs","pipes"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2019-07-25T21:14:54.000Z","popularity":67,"verifiedAt":"2026-11-26T10:58:16.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b23c96f2d34d0b35ac","type":"repo","provider":"github","url":"https://github.com/Sairyss/backend-best-practices","embedUrl":null,"title":"Sairyss/backend-best-practices","description":"Best practices, tools and guidelines for backend development. Code examples in TypeScript + NodeJS","author":"Sairyss","thumbnailUrl":"https://opengraph.githubassets.com/1/Sairyss/backend-best-practices","durationSec":null,"lang":"en","topics":[],"techs":["node","javascript","typescript"],"tags":["backend","best-practices","api","software-design","typescript","javascript","devops","nodejs","nestjs","development"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2021-12-16T11:12:26.000Z","popularity":65,"verifiedAt":"2026-11-26T10:55:56.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b33c96f2d34d0b3602","type":"repo","provider":"github","url":"https://github.com/pvarentsov/typescript-clean-architecture","embedUrl":null,"title":"pvarentsov/typescript-clean-architecture","description":"It is my attempt to create Clean Architecture based application in TypeScript.","author":"pvarentsov","thumbnailUrl":"https://opengraph.githubassets.com/1/pvarentsov/typescript-clean-architecture","durationSec":null,"lang":"en","topics":["clean-architecture"],"techs":["node","typescript"],"tags":["back-end","clean-architecture","clean-code","e2e-testing","nestjs","nodejs","software-architecture","testing","typeorm","typescript"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2020-07-07T17:19:36.000Z","popularity":61,"verifiedAt":"2026-11-26T10:57:47.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"}],"resourceGroups":[{"type":"repo","items":[{"id":"6b0857b23c96f2d34d0b33bb","type":"repo","provider":"github","url":"https://github.com/nestjs/nest","embedUrl":null,"title":"nestjs/nest","description":"A progressive TypeScript framework for Node.js backends: from a small API in one file to efficient, scalable, enterprise-grade systems 🚀","author":"nestjs","thumbnailUrl":"https://opengraph.githubassets.com/1/nestjs/nest","durationSec":null,"lang":"en","topics":["microservices"],"techs":["node","javascript","typescript"],"tags":["framework","hacktoberfest","javascript","javascript-framework","microservices","nest","system-design","nestjs","node","nodejs"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2017-02-04T20:12:52.000Z","popularity":94,"verifiedAt":"2026-11-26T10:58:32.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b23c96f2d34d0b357d","type":"repo","provider":"github","url":"https://github.com/jmcdo29/testing-nestjs","embedUrl":null,"title":"jmcdo29/testing-nestjs","description":"A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!","author":"jmcdo29","thumbnailUrl":"https://opengraph.githubassets.com/1/jmcdo29/testing-nestjs","durationSec":null,"lang":"en","topics":["cqrs"],"techs":["node","typescript"],"tags":["cqrs","examples","graphql","hacktoberfest","interceptor","mongo","testing","api-design","nestjs","pipes"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2019-07-25T21:14:54.000Z","popularity":67,"verifiedAt":"2026-11-26T10:58:16.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b23c96f2d34d0b35ac","type":"repo","provider":"github","url":"https://github.com/Sairyss/backend-best-practices","embedUrl":null,"title":"Sairyss/backend-best-practices","description":"Best practices, tools and guidelines for backend development. Code examples in TypeScript + NodeJS","author":"Sairyss","thumbnailUrl":"https://opengraph.githubassets.com/1/Sairyss/backend-best-practices","durationSec":null,"lang":"en","topics":[],"techs":["node","javascript","typescript"],"tags":["backend","best-practices","api","software-design","typescript","javascript","devops","nodejs","nestjs","development"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2021-12-16T11:12:26.000Z","popularity":65,"verifiedAt":"2026-11-26T10:55:56.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b33c96f2d34d0b3602","type":"repo","provider":"github","url":"https://github.com/pvarentsov/typescript-clean-architecture","embedUrl":null,"title":"pvarentsov/typescript-clean-architecture","description":"It is my attempt to create Clean Architecture based application in TypeScript.","author":"pvarentsov","thumbnailUrl":"https://opengraph.githubassets.com/1/pvarentsov/typescript-clean-architecture","durationSec":null,"lang":"en","topics":["clean-architecture"],"techs":["node","typescript"],"tags":["back-end","clean-architecture","clean-code","e2e-testing","nestjs","nodejs","software-architecture","testing","typeorm","typescript"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2020-07-07T17:19:36.000Z","popularity":61,"verifiedAt":"2026-11-26T10:57:47.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"}]}],"siblings":[{"slug":"express","title":"Express","icon":"server","status":"available","current":false},{"slug":"nestjs","title":"NestJS","icon":"boxes","status":"available","current":true},{"slug":"swagger-openapi","title":"Swagger / OpenAPI","icon":"file-json","status":"available","current":false},{"slug":"authentication","title":"Logowanie i rejestracja","icon":"key-round","status":"available","current":false}]}