How kurtuson92-web/e-lista works
Cupitate is a browser-based credit ledger with account signup, login, profile and password management, and credit deposits and spending. Users submit account actions from the home page, then reach the dashboard to view or change their credit history. The Express server handles these requests, hashes passwords, and persists user records and credit entries in MongoDB. Both root-level and public/ client scripts are present; the excerpts show their request behavior, but do not establish which duplicate scripts each HTML page loads.
Main entry points: index.js HTTP server · public/home.js Home client · home.js Root home client · dashboard.js Dashboard client
Components 13
Browser clients
- Home client
public/home.js - Root home client
home.js - Dashboard client
public/dashboard.js - Root dashboard client
dashboard.js
Account services
- HTTP server
index.js - Signup and login
index.js - Password recovery
index.js - Profile management
index.js - bcrypt
Credit ledger
- Credit operations
index.js
Persistence
- User and credits
index.js - MongoDB
Other components
- User
Connections 19
- User → Home client: uses
public/home.js - User → Root home client: uses
home.js - Home client → HTTP server: submits auth requests
public/home.js - Root home client → HTTP server: submits auth requests
home.js - User → Dashboard client: uses
public/dashboard.js - User → Root dashboard client: uses
dashboard.js - Dashboard client → HTTP server: sends account and credit requests
public/dashboard.js - Root dashboard client → HTTP server: sends account and credit requests
dashboard.js - HTTP server → Signup and login: routes signup and login
index.js - HTTP server → Password recovery: routes password resets
index.js - HTTP server → Profile management: routes profile updates
index.js - HTTP server → Credit operations: routes credit actions
index.js - Signup and login → User and credits: looks up and saves users
index.js - Password recovery → User and credits: reads and updates users
index.js - Profile management → User and credits: reads and updates users
index.js - Credit operations → User and credits: reads and saves credits
index.js - Signup and login → bcrypt: hashes and compares
index.js - Password recovery → bcrypt: hashes and compares
index.js - User and credits → MongoDB: persists user records
index.js