Software Alternatives & Reviews

Setting Up Sessions with NestJS, Passport, and Redis

Redis JSON Web Token Insomnia REST tmux cURL
  1. 1
    Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.
    Pricing:
    • Open Source
    Lastly, I'll be using docker and a docker-compose file to run a Redis instance for the session storage and to allow for running a redis-cli to be able to query the redis instance ran by Docker.

    #Key-Value Database #NoSQL Databases #Databases 183 social mentions

  2. JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
    Pricing:
    • Open Source
    If you're here, you're either one of the avid readers of my, just stumbling about dev.to looking for something interesting to read, or you're searching for how to implement sessions with Passport and NestJS. Nest's own docs do a pretty good job of showing how to set up the use of JWTs with Passport, but are lacking when it comes to how to use sessions. Maybe you want to use a session store because of supporting some legacy software. Maybe it's because JWTs bring too much complexity with scope. Maybe it's because you're looking for an easier way to set up refresh tokens. Whatever the case, this article is going to be for you.

    #Identity Provider #Identity And Access Management #SSO 276 social mentions

  3. The most intuitive cross-platform REST API Client 😴
    Pricing:
    • Open Source
    I'm also going to be not using an HTTP client like Postman or Insomnia, but using cURL instead. I lke living in the terminal as much as I can, as it gives me immediate feedback between my terminals. Feel free to use whichever you prefer, but the code snippets will be curls.

    #API Tools #API #Developer Tools 120 social mentions

  4. 4
    tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a...
    Pricing:
    • Open Source
    And speaking of immediate feedback, I'm also going to be using tmux, which is a terminal multiplexer, to allow me to run multiple terminals at a time within the same window and logical grouping. This allows me to keep a single terminal window up and view my server logs, docker-compose instance and/or logs, and make curls without having to alt-tab to change views. Very handy, and very customizable.

    #Terminal Tools #SSH #Server Management 26 social mentions

  5. 5
    cURL is a computer software project providing a library and command-line tool for transferring data...
    Pricing:
    • Open Source
    I'm also going to be not using an HTTP client like Postman or Insomnia, but using cURL instead. I lke living in the terminal as much as I can, as it gives me immediate feedback between my terminals. Feel free to use whichever you prefer, but the code snippets will be curls.

    #API Tools #APIs #Developer Tools 105 social mentions

Discuss: Setting Up Sessions with NestJS, Passport, and Redis

Log in or Post with