How axhar-ibraheem/react-mailbox-client works
Project Type and Purpose
• This is a full-stack Single Page Application (SPA) “Mailbox Client App” whose front end is built in React, uses Redux for state management, and is hosted on Netlify.
• It relies on Firebase for user authentication and mail data storage/retrieval.
Top-Level File Structure
• public/ : Static HTML (index.html, manifest, robots.txt) served by Netlify
• src/
• App.js & index.js – Entrypoint and root of the React tree
• Pages/ – Route-level components (Welcome.js)
• component/ – Feature folders:
– userAuth (SignUp, Logout, InputErrorMessage)
– Mailbox (Inbox, MailListItems, Message, MailboxEditor, Selector)
– Sent, Starred, Trash (ConfirmDelete)
– UI (EmptyMessage, LoadingSpinner, Notification)
• hooks/ – Custom hooks (useAxiosFetch, useInput, useUnselect)
• store/ – Redux slices (authSlice.js, mailSlice.js) + store/index.js
Insights from README
• Core features: signup/login, inbox view, send/delete/star mails, responsive UI
• Tech stack: React + Redux + React-Bootstrap (UI) + Firebase backend
• Hosted at Netlify, connects to Firebase Auth & Firestore/Realtime Database