How fahadshaik-coder/notely-notes-sharing-platform-with-ai works
Notely is a notes-sharing and AI study-assistance web app. The visible upload workflow authenticates a student, stores a note file in Supabase, and records its metadata in Firestore. The backend also accepts chat questions and uploaded-note URLs, prepares document text, and requests AI responses from Groq. The README is empty and most page code was not sampled, so links from the pages to scripts and API routes are left unverified rather than inferred.
Main entry points: upload.js Upload Handler · server.js API Server · upload.html Upload Page · ai.html AI Page
Components 15
Student Web App
- Home Pages
home.html - Login Page
login.html - Dashboard
dashboard.html - Upload Page
upload.html - AI Page
ai.html
Notes Upload
- Upload Handler
upload.js - Firebase App
firebase.js - Supabase Storage
supabase.js - Firestore Notes
upload.js
AI Assistance
- API Server
server.js - Document Context
server.js - PDF Extraction
server.js
Other components
- Student
- Groq AI
- Stored Note File
Connections 15
- Student → Home Pages: opens
- Student → Login Page: opens
- Student → Dashboard: opens
- Student → Upload Page: opens
- Student → AI Page: opens
- Upload Page → Upload Handler: uses
- Upload Handler → Firebase App: initializes
upload.js - Upload Handler → Supabase Storage: uploads files
upload.js - Upload Handler → Firestore Notes: writes metadata
upload.js - API Server → PDF Extraction: extracts PDF text
server.js - API Server → Document Context: selects context
server.js - API Server → Stored Note File: fetches URL
server.js - API Server → Groq AI: requests completion
server.js - AI Page → API Server: calls API
- Upload Handler → Login Page: redirects when unauthenticated
upload.js