How yash5429q/wisper-text works
WhisperText is a React cipher-conversion application with a Node/Express backend. The main workflow is to enter or upload text, select encryption or decryption (including smart decryption), and view, copy, or download the result; signed-in users can also save and review operation history. The README documents registration, login, history, and MySQL-backed services. Frontend calls and chart rendering are supported by the supplied excerpts; backend internals and some page-to-service wiring were not shown, so those links are documented or marked unverified.
Main entry points: App.jsx App routing · server.js Express API · AdminDashboard.jsx Admin dashboard · DecryptPage.jsx Decrypt page
Components 15
Cipher conversion
- App routing
src/App.jsx - Encrypt page
src/EncryptPage.jsx - Decrypt page
src/DecryptPage.jsx - Smart decrypt
src/SmartDecryptPage.jsx - Cipher algorithms
src/ciphers.js - File handling
src/FileHandler.jsx
Accounts and history
- Signup
src/components/Signup.jsx - Login
src/components/Login.jsx - History page
src/HistoryPage.jsx
Backend services
- Express API
backend/server.js - MySQL database
Administration
- Admin dashboard
src/AdminDashboard.jsx - Cipher breakdown
src/components/PieChart.jsx - Usage trends
src/components/LineChart.jsx
Other components
- User
Connections 19
- User → App routing: opens app
README.md - App routing → Encrypt page: routes to
src/App.jsx - App routing → Decrypt page: routes to
src/App.jsx - App routing → Smart decrypt: routes to
src/App.jsx - App routing → History page: routes to
src/App.jsx - App routing → Login: routes to
src/App.jsx - App routing → Signup: routes to
src/App.jsx - Encrypt page → Cipher algorithms: encrypts with
src/EncryptPage.jsx - Decrypt page → Cipher algorithms: decrypts with
src/DecryptPage.jsx - Smart decrypt → Cipher algorithms: tries algorithms
src/SmartDecryptPage.jsx - Smart decrypt → File handling: uses files
src/SmartDecryptPage.jsx - Login → Express API: posts login
src/components/Login.jsx - Signup → Express API: posts registration
src/components/Signup.jsx - Decrypt page → Express API: saves operation
src/DecryptPage.jsx - History page → Express API: requests history
README.md - Express API → MySQL database: reads and writes
README.md - Admin dashboard → Express API: requests analytics
- Admin dashboard → Cipher breakdown: renders
src/AdminDashboard.jsx - Admin dashboard → Usage trends: renders
src/AdminDashboard.jsx