HerTracker is your personal menstrual health companion that helps you understand and track your cycle with ease. It's more than just a period tracker - it predicts your next period, shows you which phase of your cycle you're in (menstrual, follicular, ovulatory, or luteal), and explains how each phase affects your energy, mood, and body. The built-in AI assistant answers all your health questions in real-time, giving you personalized advice based on where you are in your cycle. Track your daily moods, view your entire year on an interactive calendar, and get insights that help you plan your life around your natural rhythm. Your data stays completely private and secure - it's just between you and the app. Understanding your cycle isn't just about tracking periods; it's about taking control of your health, planning better, and working with your body instead of against it.
Interactive 12-month calendar with period highlighting, smart predictions based on your cycle length
Real-time tracking of your cycle phase (Menstrual, Follicular, Ovulatory, Luteal) with phase-specific lifestyle tips.
OpenAI-powered chatbot for personalized health advice. Ask about symptoms, cycles, and reproductive health - get evidence-based answers tailored to your current phase.
Quick mood tracking with four options (Radiant, Charged, Cozy, Flowy).
Customize cycle length, period duration, and last period date. Secure account management with full data encryption.
Your health data never leaves the app. No third-party sharing, no data selling, encrypted connections.
Frontend: React.js, React Router, Tailwind CSS, Axios, Lucide React
Backend: Node.js, Express.js, MongoDB Atlas, Mongoose
Authentication: Passport.js, JWT, Google OAuth 2.0
APIs: OpenAI GPT, Nodemailer
Deployment: Vercel (Frontend), Render (Backend)
Before you begin, ensure you have:
- Node.js v18 or higher
- MongoDB Atlas account
- Google OAuth credentials
- OpenAI API key
# Clone the repository to your local machine
git clone https://github.com/yourusername/hertracker.git
# Navigate into the project folder
cd hertracker# Go to backend folder
cd backend
# Install all dependencies
npm install
# Create a .env file in the backend folder
# Add these environment variables:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
OPENAI_API_KEY=your_openai_api_key
EMAIL_USER=your_email@gmail.com
EMAIL_PASS=your_email_app_password
FRONTEND_URL=http://localhost:3000
# Start the backend server
npm start# Open a new terminal
# Go to frontend folder from project root
cd frontend
# Install all dependencies
npm install
# Create a .env file in the frontend folder
# Add this environment variable:
REACT_APP_API_URL=http://localhost:5000
# Start the frontend development server
npm starthertracker/
├── frontend/
│ ├── public/
│ │ └── index.html
│ ├── src/
│ │ ├── components/
│ │ │ ├── Navbar.js
│ │ │ └── CycleSection.js
│ │ ├── pages/
│ │ │ ├── Login.js
│ │ │ ├── Dashboard.js
│ │ │ ├── Profile.js
│ │ │ └── AIChat.js
│ │ ├── App.js
│ │ └── index.css
│ └── package.json
│
└── backend/
├── models/
│ └── User.js
├── routes/
│ └── auth.js
├── middleware/
│ └── auth.js
├── config/
│ └── passport.js
├── server.js
└── package.json
