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
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ VITE_BASE_URL="http://localhost:3000/api/v1"
VITE_SPACE_URL="http://localhost:5403"
VITE_SPACE_API_KEY=""
VITE_LOG_LEVEL="info"
VITE_CDN_DOMAIN="s3-cdn-server-for-retrieving-files"
VITE_CDN_DOMAIN="s3-cdn-server-for-retrieving-files"
VITE_SOCIAL_WS_URL="http://localhost:3004"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"react-dom": "^18.3.1",
"react-router-dom": "^7.9.6",
"recharts": "^3.5.0",
"socket.io": "^4.8.3",
"space-react-client": "^0.3.0",
"wavesurfer.js": "^7.11.1",
"zustand": "^5.0.9"
Expand Down
131 changes: 126 additions & 5 deletions pnpm-lock.yaml

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

6 changes: 2 additions & 4 deletions public/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ window.RUNTIME_CONFIG = {
VITE_CDN_DOMAIN: "s3-cdn-server-for-retrieving-files",
VITE_SPACE_URL: "http://localhost:5403",
VITE_SPACE_API_KEY: "",
// Analytics SSE endpoint - DEBE pasar por API Gateway para que añada headers de auth
// En desarrollo: http://localhost:3000 (API Gateway)
// En producción: https://api.socialbeats.es/socialbeats-api
VITE_ANALYTICS_SERVICE_URL: "http://localhost:3000"
VITE_ANALYTICS_SERVICE_URL: "http://localhost:3003",
VITE_SOCIAL_WS_URL: "http://localhost:3004"
};
10 changes: 9 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ import PlaylistDetails from './pages/app/beats-interaction/playlist/PlaylistDeta
import ForgotPassword from './pages/auth/ForgotPassword';
import ResetPassword from './pages/auth/ResetPassword';
import VerifyEmail from './pages/auth/VerifyEmail';
import MessagingLayout from './pages/app/messages/MessagingLayout';
import ConversationsPage from './pages/app/messages/ConversationsPage.jsx';
import ConversationThreadPage from './pages/app/messages/ConversationThreadPage.jsx';

function App() {
const spaceClient = useSpaceClient();
Expand Down Expand Up @@ -81,10 +84,15 @@ function App() {
<Route path="explore" element={<ExplorePage />} />
<Route path="upload" element={<Feed />} />
<Route path="library" element={<Feed />} />
<Route path="messages" element={<Feed />} />
<Route path="profile" element={<ProfileView />} />
<Route path="profile/:username" element={<ProfileView />} />

{/* Rutas de Mensajería */}
<Route path="messages" element={<MessagingLayout />}>
<Route index element={<ConversationsPage />} />
<Route path=":id" element={<ConversationThreadPage />} />
</Route>

{/* Rutas del microservicio Dashboards */}
<Route path="/app/dashboards" element={<DashboardsPage />} />
<Route path="/app/dashboards/create" element={<CreateDashboards />} />
Expand Down
Loading
Loading