How yashmahajancd/notexchange works
NoteXchange is currently a project foundation for a student note-sharing platform, not yet the full sharing product. The visible user flow is the React app requesting a test endpoint through Axios; Laravel boots and registers its API routes. The README documents MongoDB and Sanctum foundations, while authentication, verification, note management and community features are upcoming. The graph distinguishes those documented foundations from the small amount of sampled runtime code; detailed route handling and database operations were not inspected.
Main entry points: App.jsx React app · api.js Axios client · index.php Laravel entry · app.php App bootstrap
Components 12
Web client
- React app
frontend/src/App.jsx - Axios client
frontend/src/services/api.js - React entry
frontend/src/main.jsx
Laravel API
- Laravel entry
backend/public/index.php - App bootstrap
backend/bootstrap/app.php - API routes
backend/routes/api.php
Identity and data
- Sanctum setup
backend/app/Providers/AppServiceProvider.php - Access token model
backend/app/Models/Sanctum/PersonalAccessToken.php - User model
backend/app/Models/User.php
Other components
- Student
- HTTP request
- MongoDB
Connections 10
- Student → React app: uses
- React entry → React app: renders
frontend/src/main.jsx - React app → Axios client: requests
frontend/src/App.jsx - Axios client → HTTP request: sends HTTP
README.md - HTTP request → Laravel entry: reaches API
README.md - Laravel entry → App bootstrap: loads
backend/public/index.php - App bootstrap → API routes: registers
backend/bootstrap/app.php - Sanctum setup → Access token model: configures
backend/app/Providers/AppServiceProvider.php - Access token model → MongoDB: uses driver
README.md - User model → MongoDB: uses driver
README.md