This file contains hidden or 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
/* eslint-disable space-before-function-paren */ | |
'use strict' | |
const BaseController = require('./base') | |
/** | |
* @author Eric Okemmadu <[email protected]> | |
* @summary Controller to handle http request for user model related functions | |
* @name UserController | |
* @extends BaseController | |
*/ |
This file contains hidden or 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
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(); |
This file contains hidden or 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
<!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"> |