diff --git a/.gitignore b/.gitignore
index 56cc642..2fc6ec6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,6 +44,7 @@ captures/
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
+*.idea*
# Android Studio 3 in .gitignore file.
.idea/caches
.idea/modules.xml
@@ -83,3 +84,4 @@ lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
+Lambdas/Lists/src/main/resources/dbProperties.json
diff --git a/Lambdas/Lists/pom.xml b/Lambdas/Lists/pom.xml
new file mode 100644
index 0000000..9442b49
--- /dev/null
+++ b/Lambdas/Lists/pom.xml
@@ -0,0 +1,42 @@
+
+
+ 4.0.0
+
+ groupId
+ Lists
+ 1.0-SNAPSHOT
+
+
+
+ com.amazonaws
+ aws-lambda-java-core
+ 1.2.1
+
+
+ com.amazonaws
+ aws-lambda-java-events
+ 3.1.0
+
+
+ com.amazonaws
+ aws-lambda-java-log4j2
+ 1.2.0
+
+
+ org.json
+ json
+ 20200518
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+
+
+ 1.11
+ 1.11
+
+
\ No newline at end of file
diff --git a/Lambdas/Lists/src/main/java/DBConnector.java b/Lambdas/Lists/src/main/java/DBConnector.java
new file mode 100644
index 0000000..c4f85b9
--- /dev/null
+++ b/Lambdas/Lists/src/main/java/DBConnector.java
@@ -0,0 +1,32 @@
+import org.json.JSONObject;
+
+import java.io.IOException;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.SQLException;
+import java.util.Properties;
+
+public class DBConnector {
+
+ Connection connection;
+
+ DBConnector() throws IOException, SQLException {
+ this(loadProperties("dbProperties.json"));
+ }
+
+ DBConnector(Properties dbProperties) throws SQLException {
+ System.out.println(dbProperties);
+ connection = DriverManager.getConnection(dbProperties.get("url").toString(), dbProperties);
+
+ }
+
+ public static Properties loadProperties(String path) throws IOException {
+ Properties toReturn = new Properties();
+ String propertiesJSONString = Files.readString(Path.of(path));
+ JSONObject propertiesJSON = new JSONObject(propertiesJSONString);
+ propertiesJSON.keys().forEachRemaining(key -> toReturn.setProperty(key, propertiesJSON.get(key).toString()));
+ return toReturn;
+ }
+}
diff --git a/Lambdas/Lists/src/main/java/InputUtils.java b/Lambdas/Lists/src/main/java/InputUtils.java
new file mode 100644
index 0000000..0457585
--- /dev/null
+++ b/Lambdas/Lists/src/main/java/InputUtils.java
@@ -0,0 +1,16 @@
+import java.util.Map;
+
+public class InputUtils {
+ public static String getCognitoIDFromBody(Map inputMap) {
+ System.out.println(inputMap.keySet());
+ System.out.println(inputMap.entrySet());
+ Map contextMap;
+ if ((inputMap.get("context") != null) && (inputMap.get("context") instanceof Map, ?>)) {
+ contextMap = ((Map) inputMap.get("context"));
+ } else {
+ throw new IllegalArgumentException("The key \"Context\" must exist and be a map");
+ }
+ System.out.println(inputMap.get("context"));
+ System.out.println(contextMap.get("sub"));
+ }
+}
diff --git a/Lambdas/Lists/src/main/java/ListAdder.java b/Lambdas/Lists/src/main/java/ListAdder.java
new file mode 100644
index 0000000..413b7db
--- /dev/null
+++ b/Lambdas/Lists/src/main/java/ListAdder.java
@@ -0,0 +1,4 @@
+public class ListAdder {
+
+
+}
diff --git a/Lambdas/Lists/src/main/java/ListsPOST.java b/Lambdas/Lists/src/main/java/ListsPOST.java
new file mode 100644
index 0000000..a4588a0
--- /dev/null
+++ b/Lambdas/Lists/src/main/java/ListsPOST.java
@@ -0,0 +1,22 @@
+import java.io.IOException;
+import java.sql.SQLException;
+import java.util.Map;
+
+import com.amazonaws.services.lambda.runtime.Context;
+import com.amazonaws.services.lambda.runtime.RequestHandler;
+
+public class ListsPOST implements RequestHandler