From 01d1fbc72dc1c6add1de0813ef194cd39f30a119 Mon Sep 17 00:00:00 2001 From: icurfer Date: Tue, 20 May 2025 19:06:08 +0900 Subject: [PATCH] =?UTF-8?q?Ansible=EA=B4=80=EB=A0=A8=20fe=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- .env.production | 3 +- src/App.js | 2 + src/api/ansibleApi.js | 12 +++ src/components/Ansible/AnsibleDetail.js | 135 ++++++++++++++++++++++++ src/components/Ansible/AnsibleForm.js | 69 ++++++++++++ src/components/Ansible/AnsibleItem.js | 14 +++ src/components/Ansible/AnsibleList.js | 16 +++ src/components/Navbar.js | 26 +++-- src/pages/Ansible.js | 124 ++++++++++++++++++++++ version | 2 +- 11 files changed, 393 insertions(+), 13 deletions(-) create mode 100644 src/api/ansibleApi.js create mode 100644 src/components/Ansible/AnsibleDetail.js create mode 100644 src/components/Ansible/AnsibleForm.js create mode 100644 src/components/Ansible/AnsibleItem.js create mode 100644 src/components/Ansible/AnsibleList.js create mode 100644 src/pages/Ansible.js diff --git a/.env.development b/.env.development index f0bfd02..50a8e7a 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,4 @@ REACT_APP_API_AUTH=http://127.0.0.1:8000 REACT_APP_API_BLOG=http://127.0.0.1:8800 -REACT_APP_API_TODO=http://127.0.0.1:8880 \ No newline at end of file +REACT_APP_API_TODO=http://127.0.0.1:8880 +REACT_APP_API_ANSIBLE=http://127.0.0.1:8888 \ No newline at end of file diff --git a/.env.production b/.env.production index dbc14b6..0ed72c9 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,4 @@ REACT_APP_API_AUTH=https://www.icurfer.com REACT_APP_API_BLOG=https://www.icurfer.com -REACT_APP_API_TODO=https://www.icurfer.com \ No newline at end of file +REACT_APP_API_TODO=https://www.icurfer.com +REACT_APP_API_ANSIBLE=https://www.icurfer.com \ No newline at end of file diff --git a/src/App.js b/src/App.js index 66e8a5f..c498fe3 100644 --- a/src/App.js +++ b/src/App.js @@ -13,6 +13,7 @@ import Login from "./pages/Login"; import Register from './pages/Register'; import Profile from "./pages/Profile"; import TaskPage from "./pages/TaskPage"; +import AnsiblePage from "./pages/Ansible"; import { AuthProvider } from "./context/AuthContext"; @@ -35,6 +36,7 @@ function App() { } /> } /> } /> + } />