How hethenthira/reconnectify works
Reconnectify is a student–alumni networking application: users register or log in, then use protected community features to discover peers, connect, communicate, and participate in the network. The client is a routed React app with shared authentication and API services; an Express server exposes domain routes backed by MongoDB models. The graph preserves the documented client capabilities, but many page-to-endpoint and route-to-model links are unsampled, so those relationships are omitted rather than inferred.
Main entry points: App.jsx Route shell · api.js API client · server.js HTTP server · MessageContext.jsx Unread messages
Components 25
Client app
- Route shell
Client/src/App.jsx - API client
Client/src/services/api.js
Identity and profiles
- Auth state
Client/src/context/AuthContext.jsx - Auth hook
Client/src/hooks/useAuth.js - Registration
Client/src/pages/Register.jsx - Profile
Client/src/pages/Profile.jsx - Member directory
Client/src/pages/Directory.jsx - Admin dashboard
Client/src/pages/AdminDashboard.jsx - Auth routes
Server/Server/routes/auth.js - User routes
Server/Server/routes/users.js - User records
Server/Server/models/User.js
Community features
- Community feed
Client/src/pages/Feed.jsx - Connections
Client/src/pages/Connections.jsx - Messaging
Client/src/pages/Messages.jsx - Unread messages
Client/src/context/MessageContext.jsx - Events
Client/src/pages/Events.jsx - Opportunities
Client/src/pages/Opportunities.jsx - Member dashboard
Client/src/pages/Dashboard.jsx
Server and data
- HTTP server
Server/Server/server.js - JWT authorization
Server/Server/middleware/auth.js - Domain routes
Server/Server/routes - MongoDB connection
Server/Server/config/db.js
Other components
- Member
- MongoDB
- Socket service
Connections 29
- Member → Route shell: browses
Client/src/App.jsx - Route shell → Auth hook: checks auth
Client/src/App.jsx - Route shell → Registration: routes to
Client/src/App.jsx - Route shell → Profile: routes to
Client/src/App.jsx - Route shell → Member directory: routes to
Client/src/App.jsx - Route shell → Admin dashboard: routes to
Client/src/App.jsx - Route shell → Community feed: routes to
Client/src/App.jsx - Route shell → Messaging: routes to
Client/src/App.jsx - Route shell → Events: routes to
Client/src/App.jsx - Route shell → Opportunities: routes to
Client/src/App.jsx - Route shell → Member dashboard: routes to
Client/src/App.jsx - Member → Auth state: registers or logs in
Client/src/context/AuthContext.jsx - Auth state → API client: calls auth API
Client/src/context/AuthContext.jsx - Auth state → API client: updates profile
Client/src/context/AuthContext.jsx - Profile → API client: calls profile API
Client/src/pages/Profile.jsx - Community feed → API client: loads and changes posts
Client/src/pages/Feed.jsx - Messaging → API client: calls messaging API
Client/src/pages/Messages.jsx - Unread messages → API client: fetches unread count
Client/src/context/MessageContext.jsx - Unread messages → Auth hook: reads identity
Client/src/context/MessageContext.jsx - Unread messages → Socket service: connects for updates
Client/src/context/MessageContext.jsx - API client → HTTP server: sends HTTP requests
- HTTP server → Auth routes: mounts routes
Server/Server/server.js - HTTP server → User routes: mounts routes
Server/Server/server.js - HTTP server → Domain routes: mounts routes
Server/Server/server.js - Auth routes → User records: reads and writes
Server/Server/routes/auth.js - User routes → User records: reads and updates
Server/Server/routes/users.js - User routes → JWT authorization: guards endpoints
Server/Server/routes/users.js - HTTP server → MongoDB: connects
Server/Server/server.js - MongoDB connection → MongoDB: configures connection