Skip to content
Merged
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
1 change: 1 addition & 0 deletions Frontend/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_API_URL=http://localhost:8080
1 change: 1 addition & 0 deletions Frontend/.env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_API_URL=http://solvemeup.com
5 changes: 4 additions & 1 deletion Frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=account_circle" />
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons"
rel="stylesheet">
<title>frontend</title>
</head>
<body>
Expand Down
49 changes: 49 additions & 0 deletions Frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@tailwindcss/postcss": "^4.1.18",
"@tanstack/react-query": "^5.90.16",
"@tanstack/react-query-devtools": "^5.91.2",
"axios": "^1.13.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-redux": "^9.2.0",
Expand Down
9 changes: 9 additions & 0 deletions Frontend/src/api/api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import axios from "axios";

const api = axios.create({
baseURL: import.meta.env.VITE_API_URL,
withCredentials: true,
headers: { "Content-Type": "application/json" },
});

export default api;
214 changes: 0 additions & 214 deletions Frontend/src/pages/Community/CommunityDeatailPage.jsx

This file was deleted.

Loading