Using Frisby and Jest with William Imoh on Real Talk Javascript #90

By John Papa

ag-grid-logo-2

William Imoh joins John, Dan, and Craig to talk about testing with Frisby.js and Joi. What are Frisby and Jest? How does Frisby make life easier? What is Postman? How do you handle authentication? How do you pass tokens or specify environment data?

const podcast = { 
  episode: 90,
  title: 'Using Frisby and Jest',
  topics: [ 
    'Frisby', 'Jest', 'javascript',
  ],
  guest: 'William Imoh'
  hosts: [
    'John Papa', 'Dan Wahlin', 'Craig Shoemaker'
  ]
};

John Papa @John_Papa

Ward Bell @WardBell

Dan Wahlin @DanWahlin

Craig Shoemaker @craigshoemaker

William Imoh @iChuloo

Brought to you by

  • ag-Grid

  • Narwhal

    Visit nx.dev to get the preeminent open-source toolkit for monorepo development, today.

Resources:

Timejumps

  • 02:42 Guest introduction
  • 04:25 What are Frisby and Jest?
  • 05:37 How does Frisby make life easier?
  • 06:42 What is Postman?
  • 13:29 Sponsor: Ag Grid
  • 14:30 Getting Joi from Frisby
  • 18:50 How do you handle authentication?
  • 25:41 Sponsor: Nrwl
  • 26:14 How do you pass tokens or specify environment data?
  • 28:08 Any frustrations with this set up?
  • 31:16 How does it handle file uploads?
  • 34:50 Final thoughts

Source:: johnpapa

JWT vs Opaque Access Tokens: Use Both With Spring Boot

By Chris on Code

The topic of validating an OAuth 2.0 access tokens comes up frequently on the Okta developer blog. Often we talk about how to validate JSON Web Token (JWT) based access tokens; however, this is NOT part of the OAuth 2.0 specification. JWTs are so commonly used that Spring Security supported them before adding support for remotely validating tokens (which is part of the OAuth 2.0 specification.)

In this post, you will build a simple application that takes advantage of both types of validation.

Prerequisites

Should I Validate Access Tokens Locally or Remote?

Whether you should validate access tokens locally (e.g., a JWT) or remotely (per spec) is a question of how much security you need. Often, people jump to, “I need all of the securities!” This statement simply isn’t true—how much sec

Source:: scotch.io

ECMAScript proposal: private static methods and accessors in classes

By Dr. Axel Rauschmayer

This blog post is part of a series on new members in bodies of class definitions:

  1. Public class fields
  2. Private class fields
  3. Private prototype methods and getter/setters in classes
  4. Private static methods and getter/setters in classes

This post explains private static methods and accessors in classes, as described in the ECMAScript proposal “Static class features” by Shu-yu Guo and Daniel Ehrenberg.

Source:: 2ality