Add Cognito signed-up users to RDS Postgres database by AWS Lambda functionThis article describes when a user is signed up to a Cognito user pool, an AWS lambda function is triggered and adds the user to a table in an RDS PostgreSQL database. Create an AWS lambda function Paste the codes to the lambda function import os im...Apr 10, 2023 · 2 min readbinli.hashnode.dev
Verify Cognito JWT in a Flask ApplicationSend the Cognito JWT in the header in an API request The JWT is stored in the browser's local storage during sign-in. Auth.signIn(email, password) .then(user => { console.log('user', user) localStorage.setItem("access_token", user.signInUse...Mar 31, 2023 · 3 min readbinli.hashnode.dev
Configure GitHub CodespacesWhat is GitHub Codespaces A codespace is a development environment that's hosted in the cloud. You can customize your project for GitHub Codespaces by committing configuration files to your repository (often known as Configuration-as-Code), which cr...Mar 29, 2023 · 4 min readbinli.hashnode.dev
Distributed Tracing with AWS X-Ray in Flask ApplicationIntegrate AWS X-Ray to the Flask application for tracing AWS X-Ray SDK for Python GitHub Repo Add library aws-xray-sdk to the requirements.txt aws-xray-sdk Run this command in a terminal to install the libraries for local development pip ...Mar 24, 2023 · 3 min readbinli.hashnode.dev
Integrate Rollbar to Flask applicationWhat is Rollbar Rollbar is a cloud-based error tracking and debugging tool used in web development. It provides real-time monitoring of errors, exceptions, and logs that occur in web applications and services, allowing developers to quickly identify...Mar 24, 2023 · 3 min readbinli.hashnode.dev