Skip to content

Mike #443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Mike #443

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#prod
VITE_API_URL=https://b3uyvi86dj.execute-api.ap-northeast-1.amazonaws.com

#local
# REACT_APP_API_URL=http://localhost:4000
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ yarn.lock
npm-debug.log*
yarn-debug.log*
yarn-error.log*
REACT_APP_API_URL=https://b3uyvi86dj.execute-api.ap-northeast-1.amazonaws.com/api
Binary file added Docs/admin-FE.docx
Binary file not shown.
Binary file added Docs/admin-api-requirements.docx
Binary file not shown.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
"classnames": "^2.5.1",
"core-js": "^3.40.0",
"prop-types": "^15.8.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^18.2.0",
"react-csv": "^2.2.2",
"react-dom": "^18.2.0",
"react-redux": "^9.2.0",
"react-router-dom": "^7.1.5",
"react-router-dom": "^6.15.0",
"redux": "5.0.1",
"simplebar-react": "^3.3.0"
},
Expand Down
10 changes: 5 additions & 5 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ const App = () => {
}
>
<Routes>
<Route exact path="/login" name="Login Page" element={<Login />} />
<Route exact path="/register" name="Register Page" element={<Register />} />
<Route exact path="/404" name="Page 404" element={<Page404 />} />
<Route exact path="/500" name="Page 500" element={<Page500 />} />
<Route path="*" name="Home" element={<DefaultLayout />} />
<Route exact path="/login" element={<Login />} />
<Route exact path="/register" element={<Register />} />
<Route exact path="/404" element={<Page404 />} />
<Route exact path="/500" element={<Page500 />} />
<Route path="*" element={<DefaultLayout />} />
</Routes>
</Suspense>
</HashRouter>
Expand Down
Loading