{"slug":"express","group":"backend","title":"Express","short":"Minimalistyczny serwer HTTP dla Node.js: trasy, middleware, walidacja i obsługa błędów.","icon":"server","aliases":["Express.js","ExpressJS","Node.js API"],"order":801,"status":"available","articleCount":4,"groupTitle":"Backend i API","intro":"","servedLang":"pl","primaryArticle":{"id":"6b09417d5ce40d447918f2a3","slug":"express","title":"REST API w Express 5 i TypeScript – od pustego folderu do produkcji","summary":"Budujemy API zamówień pierogarni w Express 5 i TypeScript – konfiguracja walidowana przez Zod, routing, walidacja żądań, centralna obsługa błędów, asynchroniczne handlery, logi pino, CORS, Helmet, rate limiting, testy z supertest i obraz Dockera.","servedLang":"pl","availableLangs":["pl","en"],"topics":["express","typescript","layered-architecture"],"techs":["node","typescript"],"tags":["express-5","rest-api","zod","pino","helmet","cors","rate-limiting","vitest","supertest","docker"],"level":"intermediate","kind":"tutorial","access":"public","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":21,"stats":{"views":1,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:21.076Z","updatedAt":"2026-11-27T10:03:41.394Z","challengeCount":0,"quizCount":0},"articles":[{"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":2,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:19.171Z","updatedAt":"2026-11-27T10:04:57.726Z","relation":{"position":1,"primary":false,"mainTopic":{"slug":"authentication","title":"Logowanie i rejestracja"}}},{"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":2,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:24.373Z","updatedAt":"2026-11-27T10:10:17.677Z","relation":{"position":2,"primary":false,"mainTopic":{"slug":"swagger-openapi","title":"Swagger / OpenAPI"}}},{"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":3,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:22.920Z","updatedAt":"2026-11-27T10:04:16.023Z","relation":{"position":2,"primary":false,"mainTopic":{"slug":"nestjs","title":"NestJS"}}}],"challenges":[],"resources":[{"id":"6b0857c13c96f2d34d0b4451","type":"article","provider":"web","url":"https://khalilstemmler.com/articles/enterprise-typescript-nodejs/functional-error-handling","embedUrl":null,"title":"Functional Error Handling with Express.js and DDD | Enterprise Node.js + TypeScript | Khalil Stemmler","description":"How to expressively represent (database, validation and unexpected) errors as domain concepts using functional programming concepts and how to hook those errors up to our Express.js base controller.","author":"Khalil Stemmler","thumbnailUrl":"https://khalilstemmler.com/img/blog/enterprise-node/enterprise-node.png","durationSec":null,"lang":"en","topics":["ddd-strategic-design"],"techs":["node","javascript","typescript"],"tags":["databases","functional-programming","software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":50,"verifiedAt":"2026-11-26T11:29:27.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:04.995Z","updatedAt":"2026-11-26T16:01:04.995Z"},{"id":"6b0857b13c96f2d34d0b3399","type":"repo","provider":"github","url":"https://github.com/goldbergyoni/nodebestpractices","embedUrl":null,"title":"goldbergyoni/nodebestpractices","description":"✅ The Node.js best practices list (July 2026)","author":"goldbergyoni","thumbnailUrl":"https://opengraph.githubassets.com/1/goldbergyoni/nodebestpractices","durationSec":null,"lang":"en","topics":["microservices"],"techs":["node","javascript"],"tags":["best-practices","es6","eslint","express","expressjs","javascript","testing","jest","microservices","mocha"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2017-09-15T08:33:19.000Z","popularity":97,"verifiedAt":"2026-11-26T10:52:30.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857c73c96f2d34d0b4956","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=uvTT_0hqhyY","embedUrl":"https://www.youtube-nocookie.com/embed/uvTT_0hqhyY","title":"Handling HTTP API Errors with Problem Details","description":"If you're developing an HTTP API, having a consistent way of returning errors can make handling errors on the client-side simpler. I've talked about Problem Details in another video, which is a standard for returning machine-readable details of errors in an HTTP Response. In this video, I'll cover…","author":"CodeOpinion","thumbnailUrl":"https://i.ytimg.com/vi/uvTT_0hqhyY/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["dotnet"],"tags":[],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2021-09-29T14:00:34.000Z","popularity":64,"verifiedAt":"2026-11-26T10:53:36.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857b53c96f2d34d0b3896","type":"article","provider":"web","url":"https://stripe.com/blog/rate-limiters","embedUrl":null,"title":"Scaling your API with rate limiters","description":"Online payment processing for internet businesses. Stripe is a suite of payment APIs that powers commerce for businesses of all sizes.","author":"stripe.com","thumbnailUrl":null,"durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["hacker-news"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"hn","publishedAt":"2017-03-30T16:58:10.000Z","popularity":73,"verifiedAt":"2026-11-26T11:19:34.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:52.228Z","updatedAt":"2026-11-26T16:00:52.228Z"},{"id":"6b0857b33c96f2d34d0b3663","type":"repo","provider":"github","url":"https://github.com/NationalBankBelgium/REST-API-Design-Guide","embedUrl":null,"title":"NationalBankBelgium/REST-API-Design-Guide","description":"NBB's REST-ish API Design Guide","author":"NationalBankBelgium","thumbnailUrl":"https://opengraph.githubassets.com/1/NationalBankBelgium/REST-API-Design-Guide","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["design","design-pattern","design-patterns","rest","rest-api","restful","api-design","restful-api","restful-webservices"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2016-10-12T06:58:57.000Z","popularity":56,"verifiedAt":"2026-11-26T10:57:29.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b23c96f2d34d0b357c","type":"repo","provider":"github","url":"https://github.com/ExpressGateway/express-gateway","embedUrl":null,"title":"ExpressGateway/express-gateway","description":"A microservices API Gateway built on top of Express.js","author":"ExpressGateway","thumbnailUrl":"https://opengraph.githubassets.com/1/ExpressGateway/express-gateway","durationSec":null,"lang":"en","topics":["microservices"],"techs":["node","javascript"],"tags":["api-gateway","endpoints","express-gateway","express-middleware","expressjs","javascript","security","microservice","microservices","oauth2"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2016-07-06T00:21:45.000Z","popularity":67,"verifiedAt":"2026-11-26T10:58:37.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b33c96f2d34d0b36ef","type":"repo","provider":"github","url":"https://github.com/meysamhadeli/booking-microservices-expressjs","embedUrl":null,"title":"meysamhadeli/booking-microservices-expressjs","description":"Practical microservices, built with Node.Js, CQRS, Vertical Slice Architecture, Event-Driven Architecture, Postgres, RabbitMQ, Express and the latest technologies.","author":"meysamhadeli","thumbnailUrl":"https://opengraph.githubassets.com/1/meysamhadeli/booking-microservices-expressjs","durationSec":null,"lang":"en","topics":["vertical-slice-architecture","event-driven-architecture","clean-architecture","cqrs","microservices"],"techs":["node","javascript","typescript"],"tags":["boilerplate","clean-architecture","cqrs","docker","event-driven-architecture","express","software-architecture","testing","databases","messaging"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-09-01T19:35:50.000Z","popularity":48,"verifiedAt":"2026-11-26T10:58:26.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:51.220Z","updatedAt":"2026-11-26T16:00:51.220Z"}],"resourceGroups":[{"type":"video","items":[{"id":"6b0857c73c96f2d34d0b4956","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=uvTT_0hqhyY","embedUrl":"https://www.youtube-nocookie.com/embed/uvTT_0hqhyY","title":"Handling HTTP API Errors with Problem Details","description":"If you're developing an HTTP API, having a consistent way of returning errors can make handling errors on the client-side simpler. I've talked about Problem Details in another video, which is a standard for returning machine-readable details of errors in an HTTP Response. In this video, I'll cover…","author":"CodeOpinion","thumbnailUrl":"https://i.ytimg.com/vi/uvTT_0hqhyY/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["dotnet"],"tags":[],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2021-09-29T14:00:34.000Z","popularity":64,"verifiedAt":"2026-11-26T10:53:36.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"}]},{"type":"article","items":[{"id":"6b0857c13c96f2d34d0b4451","type":"article","provider":"web","url":"https://khalilstemmler.com/articles/enterprise-typescript-nodejs/functional-error-handling","embedUrl":null,"title":"Functional Error Handling with Express.js and DDD | Enterprise Node.js + TypeScript | Khalil Stemmler","description":"How to expressively represent (database, validation and unexpected) errors as domain concepts using functional programming concepts and how to hook those errors up to our Express.js base controller.","author":"Khalil Stemmler","thumbnailUrl":"https://khalilstemmler.com/img/blog/enterprise-node/enterprise-node.png","durationSec":null,"lang":"en","topics":["ddd-strategic-design"],"techs":["node","javascript","typescript"],"tags":["databases","functional-programming","software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":50,"verifiedAt":"2026-11-26T11:29:27.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:04.995Z","updatedAt":"2026-11-26T16:01:04.995Z"},{"id":"6b0857b53c96f2d34d0b3896","type":"article","provider":"web","url":"https://stripe.com/blog/rate-limiters","embedUrl":null,"title":"Scaling your API with rate limiters","description":"Online payment processing for internet businesses. Stripe is a suite of payment APIs that powers commerce for businesses of all sizes.","author":"stripe.com","thumbnailUrl":null,"durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["hacker-news"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"hn","publishedAt":"2017-03-30T16:58:10.000Z","popularity":73,"verifiedAt":"2026-11-26T11:19:34.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:52.228Z","updatedAt":"2026-11-26T16:00:52.228Z"}]},{"type":"repo","items":[{"id":"6b0857b13c96f2d34d0b3399","type":"repo","provider":"github","url":"https://github.com/goldbergyoni/nodebestpractices","embedUrl":null,"title":"goldbergyoni/nodebestpractices","description":"✅ The Node.js best practices list (July 2026)","author":"goldbergyoni","thumbnailUrl":"https://opengraph.githubassets.com/1/goldbergyoni/nodebestpractices","durationSec":null,"lang":"en","topics":["microservices"],"techs":["node","javascript"],"tags":["best-practices","es6","eslint","express","expressjs","javascript","testing","jest","microservices","mocha"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2017-09-15T08:33:19.000Z","popularity":97,"verifiedAt":"2026-11-26T10:52:30.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b33c96f2d34d0b3663","type":"repo","provider":"github","url":"https://github.com/NationalBankBelgium/REST-API-Design-Guide","embedUrl":null,"title":"NationalBankBelgium/REST-API-Design-Guide","description":"NBB's REST-ish API Design Guide","author":"NationalBankBelgium","thumbnailUrl":"https://opengraph.githubassets.com/1/NationalBankBelgium/REST-API-Design-Guide","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["design","design-pattern","design-patterns","rest","rest-api","restful","api-design","restful-api","restful-webservices"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2016-10-12T06:58:57.000Z","popularity":56,"verifiedAt":"2026-11-26T10:57:29.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b23c96f2d34d0b357c","type":"repo","provider":"github","url":"https://github.com/ExpressGateway/express-gateway","embedUrl":null,"title":"ExpressGateway/express-gateway","description":"A microservices API Gateway built on top of Express.js","author":"ExpressGateway","thumbnailUrl":"https://opengraph.githubassets.com/1/ExpressGateway/express-gateway","durationSec":null,"lang":"en","topics":["microservices"],"techs":["node","javascript"],"tags":["api-gateway","endpoints","express-gateway","express-middleware","expressjs","javascript","security","microservice","microservices","oauth2"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2016-07-06T00:21:45.000Z","popularity":67,"verifiedAt":"2026-11-26T10:58:37.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857b33c96f2d34d0b36ef","type":"repo","provider":"github","url":"https://github.com/meysamhadeli/booking-microservices-expressjs","embedUrl":null,"title":"meysamhadeli/booking-microservices-expressjs","description":"Practical microservices, built with Node.Js, CQRS, Vertical Slice Architecture, Event-Driven Architecture, Postgres, RabbitMQ, Express and the latest technologies.","author":"meysamhadeli","thumbnailUrl":"https://opengraph.githubassets.com/1/meysamhadeli/booking-microservices-expressjs","durationSec":null,"lang":"en","topics":["vertical-slice-architecture","event-driven-architecture","clean-architecture","cqrs","microservices"],"techs":["node","javascript","typescript"],"tags":["boilerplate","clean-architecture","cqrs","docker","event-driven-architecture","express","software-architecture","testing","databases","messaging"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-09-01T19:35:50.000Z","popularity":48,"verifiedAt":"2026-11-26T10:58:26.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:51.220Z","updatedAt":"2026-11-26T16:00:51.220Z"}]}],"siblings":[{"slug":"express","title":"Express","icon":"server","status":"available","current":true},{"slug":"nestjs","title":"NestJS","icon":"boxes","status":"available","current":false},{"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}]}