Skip to content

Instantly share code, notes, and snippets.

View Rb-wahid's full-sized avatar
🎯
Focusing

Raihan Bin Wahid Rb-wahid

🎯
Focusing
View GitHub Profile
import * as aws from "aws-sdk";
import * as crypto from "crypto";
aws.config.loadFromPath("./config.json");
let key = "";
let docClient = new aws.DynamoDB.DocumentClient();
export const handle = async (event: any, context: any) => {
let { username, email, password } = JSON.parse(event.body);