add: samples
diff --git a/samples/foo/src/main/resources/META-INF/spring-configuration-metadata.json b/samples/foo/src/main/resources/META-INF/spring-configuration-metadata.json
new file mode 100644
index 0000000..1013fc1
--- /dev/null
+++ b/samples/foo/src/main/resources/META-INF/spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "groups": [
+    {
+      "sourceType": "com.supwisdom.leaveschool.foo.mvc.ExceptionErrorProperties",
+      "name": "exception.error-map",
+      "type": "java.util.Map",
+      "description": "Exception class -> error string的映射"
+    }
+  ]
+}
diff --git a/samples/foo/src/main/resources/application.yaml b/samples/foo/src/main/resources/application.yaml
new file mode 100644
index 0000000..e70d463
--- /dev/null
+++ b/samples/foo/src/main/resources/application.yaml
@@ -0,0 +1,9 @@
+spring:
+  application:
+    name: sample-foo
+
+infras:
+  mvc:
+    error:
+      error-map:
+        com.supwisdom.leaveschool.foo.model.BarException: Bar Reason
diff --git a/samples/foo/src/main/resources/templates/foo/greeting.html b/samples/foo/src/main/resources/templates/foo/greeting.html
new file mode 100644
index 0000000..f1c9c34
--- /dev/null
+++ b/samples/foo/src/main/resources/templates/foo/greeting.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML>
+<html xmlns:th="http://www.thymeleaf.org">
+<head>
+  <title>Getting Started: Serving Web Content</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<p th:text="'Hello, ' + ${name} + '!'" />
+</body>
+</html>
diff --git a/samples/foo/src/main/resources/templates/foo/model.html b/samples/foo/src/main/resources/templates/foo/model.html
new file mode 100644
index 0000000..166c688
--- /dev/null
+++ b/samples/foo/src/main/resources/templates/foo/model.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML>
+<html xmlns:th="http://www.thymeleaf.org">
+<head>
+  <title>Getting Started: Serving Web Content</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+<body>
+<p th:text="'Hello, ' + ${foo.name} + '!'"/>
+<p th:text="'Your are ' + ${foo.age} + ' years old'"/>
+</body>
+</html>