Skip to content

Logic Documention

alanpear edited this page Dec 17, 2025 · 6 revisions

Logic Documentation

A costumer visits the website by entering the elastic IP into the search bar. They enter through the internet gateway and then make their way through the load balancer assuming they meet the requirements of the security groups and the in bound rules they connect to our website via http (port 80).

LOGGING

They are started at the login page (index.html) where they can chose to sign up if they don't have an account.

If they chose to sign up they are sent to the sign up page (signup.html). Here they can register using an email and phone number to make their account. The account details that they register are sent to Cognito and DynamaDB.

DynamoDB holds the password hashes and Cognito handles our login information.

After they register they are redirected to the verification page (verify.html) where they input a code that was sent to their email. After successful verification they are redirected back to the login page (index.html) where they can now login. Once they login they are redirected to the MFA verification (setup-mfa.html) where they are asked to setup MFA using an authenticator app like duo. how we run our mfa

They are once again redirected to login page (index.html) after they login they are prompted for their MFA code from the authenticator app (verify-mfa.html).

Clone this wiki locally