-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
);
-};
\ No newline at end of file
+}
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
index ff73a6da61cd6e4b302daf7e05ea817a623f7e5b..c299b670186be3c1eb5815c1f833bdbf657b1bf8 100644
--- a/frontend/src/index.tsx
+++ b/frontend/src/index.tsx
@@ -8,8 +8,8 @@ const root = createRoot(container!);
root.render(
-
-
-
+ {/* */}
+
+ {/* */}
);
diff --git a/frontend/src/pages/citylist.tsx b/frontend/src/pages/citylist.tsx
index 911d03aaba07331ae2ce579dcdff2ba539eb2b8d..4e29e1b0a90ffc62fe7709beb4fbe64972633c8f 100644
--- a/frontend/src/pages/citylist.tsx
+++ b/frontend/src/pages/citylist.tsx
@@ -1,24 +1,85 @@
-import React, { MouseEventHandler } from "react";
-
+import React, { MouseEventHandler } from "react";
type CityProps = {
handleClick: MouseEventHandler;
-}
+};
-export default function Citylist({handleClick}: CityProps) {
+export default function Citylist({ handleClick }: CityProps) {
return (
-
-
-
-
-
-
-
-
-
-
-
+
+
도시
+
+
+
+
+
+
+
+
+
+
{/* citylist */}
-
// Citylist Page
+
+ // Citylist Page
);
-};
\ No newline at end of file
+}
diff --git a/src/models/user.model.ts b/src/models/user.model.ts
index 5fe10cd08f3341e81e58c0bff1da30b68b5789b7..84cde5ba7085311ea14be3543d0b5c893aabef3d 100644
--- a/src/models/user.model.ts
+++ b/src/models/user.model.ts
@@ -17,7 +17,7 @@ const schema = new Schema
(
email: {
type: String, //mongoose type인 String으로 일반적인 string과는 겉으로는 대문자 차이
rquired: true,
- .: true,
+ unique: true,
validate: [validateEmail, "이메일을 입력해주세요"],
},
name: { type: String },