---
title: "Željko Šević (@zsevic) | Hashnode"
description: "Node.js developer, creating tech content at https://sevic.dev. Read the latest articles by Željko Šević on Hashnode."
url: "https://hashnode.com/@zsevic"
---

@zsevic

# Željko Šević

@zsevic · Joined February 2023

Node.js developer, creating tech content at https://sevic.dev

[Website](https://sevic.dev/)

### [Documenting REST APIs with OpenAPI specs (NestJS/Swagger)](https://zsevic.hashnode.dev/documenting-rest-apis-with-openapi-specs-nestjsswagger?utm_source=hashnode&utm_medium=feed)

OpenAPI is a language-agnostic specification for declaring API documentation for REST APIs. It contains the following information: API information like title, description, version endpoints definitions with request and response parameters DTOs and...

3 min read · [zsevic.hashnode.dev](https://zsevic.hashnode.dev/documenting-rest-apis-with-openapi-specs-nestjsswagger?utm_source=hashnode&utm_medium=feed)

[Mar 29, 2023](https://hashnode.com/posts/documenting-rest-apis-with-openapi-specs-nestjsswagger/6424a1d0354d2a97a548ea35)

### [State management with Next.js and React](https://zsevic.hashnode.dev/state-management-with-nextjs-and-react?utm_source=hashnode&utm_medium=feed)

The global state can be helpful when components share some common parts. Also, some parts can stay persistent (in local storage) and be used in the following user's session. React provides a native way to handle state management using context with th...

2 min read · [zsevic.hashnode.dev](https://zsevic.hashnode.dev/state-management-with-nextjs-and-react?utm_source=hashnode&utm_medium=feed)

[Mar 8, 2023](https://hashnode.com/posts/state-management-with-nextjs-and-react/6408fe0bd694c88020a73ca8)

### [Postgres and Redis container services for e2e tests in GitHub actions](https://zsevic.hashnode.dev/postgres-and-redis-container-services-for-e2e-tests-in-github-actions?utm_source=hashnode&utm_medium=feed)

End-to-end tests should use a real database connection, and provisioning container service for the Postgres database can be automated using GitHub actions. The environment variable for the connection string for the newly created database can be set i...

1 min read · [zsevic.hashnode.dev](https://zsevic.hashnode.dev/postgres-and-redis-container-services-for-e2e-tests-in-github-actions?utm_source=hashnode&utm_medium=feed)

[Mar 7, 2023](https://hashnode.com/posts/postgres-and-redis-container-services-for-e2e-tests-in-github-actions/6407ab8b7ca02bd84e8e3f47)

### [Redis as custom storage for NestJS rate limiter](https://zsevic.hashnode.dev/redis-as-custom-storage-for-nestjs-rate-limiter?utm_source=hashnode&utm_medium=feed)

A rate limiter is a standard protection technique against brute force and DDoS attacks. NestJS provides a module for it, and the default storage is in-memory. Custom storage, Redis in this case, should be injected inside ThrottlerModule configuration...

2 min read · [zsevic.hashnode.dev](https://zsevic.hashnode.dev/redis-as-custom-storage-for-nestjs-rate-limiter?utm_source=hashnode&utm_medium=feed)

[Mar 5, 2023](https://hashnode.com/posts/redis-as-custom-storage-for-nestjs-rate-limiter/640474c2a547dec75f7a129b)

### [Deploying Node.js apps to Heroku](https://zsevic.hashnode.dev/deploying-nodejs-apps-to-heroku?utm_source=hashnode&utm_medium=feed)

This post covers the main notes from setting up the Heroku CLI tool to CI/CD pipeline with Github actions. Prerequisites Run the following command to install the CLI tool curl https://cli-assets.heroku.com/install.sh | sh Create an account or log...

3 min read · [zsevic.hashnode.dev](https://zsevic.hashnode.dev/deploying-nodejs-apps-to-heroku?utm_source=hashnode&utm_medium=feed)

[Mar 4, 2023](https://hashnode.com/posts/deploying-nodejs-apps-to-heroku/64037e79b049270c0f6a5848)
