Get and set request-scoped context anywhere in Express app

Get and set request-scoped context anywhere in Express app

We may need to store user information to somewhere and want to grab the information from a utility function. Assuming I need to get current logged user and use it in mongoose schema functions. Using express-http-context npm package, you can easily implement this. In where you want to grab the information; If you want to …

Puma-Dev

Puma-dev is the emotional successor to pow. It provides a quick and easy way to manage apps in development on macOS and Linux. Normally we use vhost on local development. But it is difficult to point to port as well. For ex: By vhost: http://development.test -> localhost:80 ( yes ) https://development.test -> localhost:3000 ( no …

FingerprintJS, fraud detection + user identification JS

FingerprintJS Pro is a combination of a JavaScript agent that runs in the browser and a server-side storage and API system that securely identifies visitors and stores all the information you need to detect fraud. Business scenarios where FingerprintJS Pro can help Catch bots trying to automatically input many usernames and passwords into your login …

Localstack – AWS cloud services in local env, faster development

Developing AWS cloud based applications, like serverless based apps normally require too much effort on non-development related things. LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. LocalStack builds on existing best-of-breed mocking/testing tools, notably kinesalite/dynalite and moto, ElasticMQ, and others. While these tools are awesome (!), they lack functionality for certain use cases. LocalStack combines the tools, makes them …

openapi-to-graphql

Translate APIs described by OpenAPI Specifications (OAS) or Swagger into GraphQL. OpenAPI-to-GraphQL can be used in two ways: CLI The Command Line Interface (CLI) provides a convenient way to start a GraphQL server wrapping an API for a given OpenAPI Specification: Install the OpenAPI-to-GraphQL CLI using:npm i -g openapi-to-graphql-cli Then, run the OpenAPI-to-GraphQL command and point it to an OpenAPI …

Integrating React Component into another Framework based on Javascript – React wihtout JSX.

In some case, we should use React Component in other framework based on Javascript such as Purescript .Framework can compile Javascript or ES6 but can not JSX because JSX is required for using React. Then what can we do for it?We can use it without JSX and the framework can compile them.Each JSX element is …