A mobile app for South African women with mood tracking and emergency support
# π© Madam - Your Pocket Sister
A compassionate mobile app built for South African women, providing mood tracking, emergency support, and wellness resources.
## π Features
- **π€ Authentication**: Secure signup and login with Firebase
- **π Mood Tracking**: Log your emotions and track patterns over time
- **π Emergency SOS**: Quick access to emergency contacts and resources
- **βοΈ Settings**: Manage account, subscription, and privacy
- **π± Mobile-First**: Optimized for mobile devices with bottom navigation
## οΏ½οΏ½οΈ Tech Stack
- **Frontend**: React 18 + Vite
- **Styling**: Tailwind CSS
- **Backend**: Firebase (Auth, Firestore)
- **Payments**: Stripe
- **SMS**: Twilio (for SOS alerts)
## π Project Structure
```
src/
βββ pages/
β βββ Login.jsx # Authentication
β βββ Signup.jsx # Registration
β βββ Dashboard.jsx # Home page with mood overview
β βββ Mood.jsx # Mood logging interface
β βββ SOS.jsx # Emergency resources & SOS
β βββ Settings.jsx # Account & app settings
βββ components/
β βββ Layout/
β β βββ Navbar.jsx # Top navigation
β β βββ BottomNav.jsx # Bottom tab navigation
β βββ EmptyState.jsx # Empty state UI
β βββ SkeletonCard.jsx # Loading skeleton
β βββ SkeletonEventCard.jsx
βββ App.jsx # Router & Protected routes
βββ main.jsx # React entry point
βββ index.css # Global styles
βββ firebaseConfig.js # Firebase setup
```
## π Getting Started
### Prerequisites
- Node.js 16+
- Firebase account
- Stripe account (for payments)
### Installation
1. **Clone the repository**
```bash
git clone
github.com
cd madam-app
```
2. **Install dependencies**
```bash
npm install
```
3. **Set up environment variables**
```bash
cp .env.example .env.local
```
Then add your Firebase credentials to `.env.local`:
```
VITE_FIREBASE_API_KEY=your_key
VITE_FIREBASE_AUTH_DOMAIN=your_domain
VITE_FIREBASE_PROJEC β¦