Skip to content

Instantly share code, notes, and snippets.

View EngrEric's full-sized avatar

Engr.Eric EngrEric

View GitHub Profile
/* eslint-disable space-before-function-paren */
'use strict'
const BaseController = require('./base')
/**
* @author Eric Okemmadu <okemmadueric@gmail.com>
* @summary Controller to handle http request for user model related functions
* @name UserController
* @extends BaseController
*/
const {
USERS_TABLE,
DELETED_USERS_TABLE,
db,
AWS,
userPoolId,
} = require("../config");
const { OK } = require("http-status-codes");
const { errorResponse } = require("./utils");
const auth = new AWS.CognitoIdentityServiceProvider();
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">