From 5030d35737535902ca62ea9b4b4f4f484196c719 Mon Sep 17 00:00:00 2001 From: SEUNGHWA LEE Date: Sat, 5 Apr 2025 17:17:26 +0900 Subject: [PATCH] =?UTF-8?q?axios=20api,=20voice=20reocrder=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 7 +++++++ src/constants/api.js | 2 ++ src/constants/recordScript.js | 8 ++++++++ 3 files changed, 17 insertions(+) create mode 100644 src/constants/api.js create mode 100644 src/constants/recordScript.js diff --git a/src/App.js b/src/App.js index 88a92e5..9f3def5 100755 --- a/src/App.js +++ b/src/App.js @@ -2,6 +2,10 @@ import React from "react"; import {BrowserRouter as Router, Routes, Route } from "react-router-dom"; import LoginPage from "./pages/LoginPage"; import SignupPage from "./pages/SignupPage"; +import VoiceTrainingPage from "./pages/VoiceTrainingPage"; +import KeywordSelectionPage from "./pages/KeywordSelectionPage"; +import FinalPage from "./pages/FinalPage"; + function App() { return ( @@ -9,6 +13,9 @@ function App() { }/> } /> + } /> + } /> + } /> ); diff --git a/src/constants/api.js b/src/constants/api.js new file mode 100644 index 0000000..1820992 --- /dev/null +++ b/src/constants/api.js @@ -0,0 +1,2 @@ +export const LOCAL_SPRING_API_URL = "http://localhost:8080/api/spring"; +export const LOCAL_FASTAPI_API_URL = "http://localhost:8000/api/fastapi"; \ No newline at end of file diff --git a/src/constants/recordScript.js b/src/constants/recordScript.js new file mode 100644 index 0000000..3d8d2c7 --- /dev/null +++ b/src/constants/recordScript.js @@ -0,0 +1,8 @@ +// 사용자 로그인 시에 목소리 녹음 대본 + + +const recordScript = ` + 부모님께서는 우리가 세상에서 가장 소중한 존재입니다. 그들의 사랑과 희생에 감사하며, 작은 일부터 시작해 효도하는 마음을 잊지 말고 살아가길 바랍니다. 언제나 부모님께 감사한 마음을 표현하세요. +`; + +export default recordScript; \ No newline at end of file