How harshrai2910/networking_system works
ConnectSD is a student networking platform. Students register or log in, build structured profiles, discover peers, send connection requests, and publish image-and-text posts; other users browse a feed and interact with posts. The React app’s API services call an Express session-based API, whose controllers coordinate MongoDB models and media/moderation services. The graph preserves the documented profile, search, network, feed, analytics, and moderation capabilities. Some feature links are documented or indexed rather than shown in full source excerpts; those evidence limits are reflected in the edges.
Main entry points: App.jsx React app · app.js API bootstrap · userPostController.js Post workflow · userController.js Profile management
Components 30
Student client
- React app
client/src/App.jsx - Auth forms
client/src/components/authentication/signup.jsx - Profile editor
client/src/components/userProfile/profile/profile.jsx - Peer discovery
client/src/components/navigation/showUsersProfile.jsx - Network views
client/src/components/userProfile/userNetwork/MyNetwork.jsx - Feed and posts
client/src/components/dashboard/dashboard.jsx - Auth API client
client/src/services/authLinkServices.js - Profile API client
client/src/services/userLinkServices.js - Search API client
client/src/services/searchLinkServices.js - Post API client
client/src/services/userPostLinkServices.js
Express API
- API bootstrap
server/app.js - Auth routes
server/router/authRouter.js - Profile routes
server/router/userRouter.js - Search routes
server/router/searchRouter.js - Network routes
server/router/networkRouter.js - Post routes
server/router/userPostRouter.js - Authentication
server/controller/authController.js - Profile management
server/controller/userController.js - Student search
server/controller/searchController.js - Connection workflow
server/controller/networkController.js - Post workflow
server/controller/userPostController.js - Media upload
server/service/cloudinaryService.js - Content moderation
server/service/moderationService.js
Domain data
- User records
server/model/user.js - Connections
server/model/userConnections.js - Post records
server/model/userPost.js
External services
- MongoDB
- Cloudinary
- Gemini API
Other components
- Student
Connections 41
- Student → React app: uses
client/src/App.jsx - React app → Auth forms: routes to
client/src/App.jsx - React app → Profile editor: routes to
client/src/App.jsx - React app → Feed and posts: routes to
client/src/App.jsx - React app → Network views: routes to
client/src/App.jsx - React app → Peer discovery: routes to
client/src/App.jsx - Auth forms → Auth API client: calls
client/src/components/authentication/signup.jsx - React app → Auth API client: checks session
client/src/App.jsx - React app → Profile API client: loads profile
client/src/App.jsx - Peer discovery → Search API client: searches peers
client/src/components/navigation/showUsersProfile.jsx - Feed and posts → Post API client: loads feed
client/src/components/dashboard/dashboard.jsx - API bootstrap → Auth routes: mounts
server/app.js - API bootstrap → Profile routes: mounts
server/app.js - API bootstrap → Search routes: mounts
server/app.js - API bootstrap → Network routes: mounts
server/app.js - API bootstrap → Post routes: mounts
server/app.js - Auth routes → Authentication: dispatches
server/router/authRouter.js - Search routes → Student search: dispatches
server/router/searchRouter.js - Profile routes → Profile management: dispatches
server/router/userRouter.js - Network routes → Connection workflow: dispatches
server/router/networkRouter.js - Post routes → Post workflow: dispatches
server/router/userPostRouter.js - Authentication → User records: reads and writes
server/controller/authController.js - Profile management → User records: reads and writes
server/controller/userController.js - Profile management → Connections: counts accepted
server/controller/userController.js - Student search → User records: searches
server/controller/searchController.js - Connection workflow → Connections: updates states
server/controller/networkController.js - Post workflow → Post records: reads and writes
server/controller/userPostController.js - Post workflow → Connections: checks accepted links
server/controller/userPostController.js - Profile management → Media upload: uploads profile image
server/controller/userController.js - Post workflow → Media upload: uploads post image
server/controller/userPostController.js - Post workflow → Content moderation: moderates image
server/controller/userPostController.js - Media upload → Cloudinary: uploads media
server/service/cloudinaryService.js - Content moderation → Gemini API: checks content
README.md - API bootstrap → MongoDB: connects and stores sessions
server/app.js - User records → MongoDB: persists records
README.md - Connections → MongoDB: persists states
README.md - Post records → MongoDB: persists posts
README.md - Auth API client → Auth routes: sends credentials
client/src/services/authLinkServices.js - Search API client → Search routes: requests search
client/src/services/searchLinkServices.js - Post API client → Post routes: requests post actions
client/src/services/userPostLinkServices.js - Profile API client → Profile routes: requests profile data