This project is a high-end, production-ready MailBox client and server. It features a complete visual redesign inspired by the architectural and minimalist brutalist aesthetic of Baseborn Studio, combined with a scalable, feature-based modular React architecture.
The application has been transformed from a generic UI into a premium digital experience:
- Aesthetic: Deep monochromatic dark mode (
#050505) with high-contrast white typography. - Typography: Utilizing the geometric Outfit font family with massive, bold, all-caps headings for a "studio" feel.
- Interactions: A dynamic circular custom cursor that responds to interactive elements, revealing "VIEW" text on hover.
- Accents: Subtle purple (
#a855f7) indicators and hover effects for a modern, high-contrast touch.
The frontend has been completely refactored into a Feature-Based Modular Structure:
src/features/auth: Encapsulates all authentication logic (SignUp, Login, JWT parsing, and API calls).src/features/mail: Manages the core email experience (List view, Composer, and Detail view).src/components: Shared UI elements like theLayoutandCustomCursor.src/pages: Serves as the composition layer, assembling features into full-screen pages.- API Isolation: All
axiosrequests are isolated within feature-specificapi/modules for better maintainability. - Absolute Imports: Configured via
jsconfig.jsonfor cleaner code (e.g.,import { login } from "features/auth/api/authApi").
A robust REST API providing:
- Authentication: JWT-based login and signup.
- Mail Management: Endpoints for composing, fetching (Inbox/Sent), marking as read, and deleting emails.
- Database: Integrated with Sequelize for ORM-based data handling.
cd backend
npm install
npm startPort: http://localhost:3001
cd frontend
npm install
npm startPort: http://localhost:3000
root/
├── backend/ # Node.js Express Server
│ ├── controllers/ # Business logic for routes
│ ├── models/ # Database schemas
│ ├── routes/ # API endpoint definitions
│ └── util/ # DB connections and helpers
└── frontend/ # React Application
├── src/
│ ├── features/ # Feature-based modular logic (Auth, Mail)
│ │ ├── auth/ # Login, Signup, JWT parsing
│ │ └── mail/ # Inbox, Outbox, Composer
│ ├── components/ # Shared UI (Cursor, Layout)
│ ├── pages/ # Full-page compositions
│ └── index.css # Global design system
└── jsconfig.json # Absolute import configuration
This application uses Aiven for MySQL as the hosted database service.



