This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |