Skip to content

Repository files navigation

Lunara — Privacy-First Cycle Intelligence Platform

Lunara is a full-stack web application for structured menstrual cycle tracking and pattern analysis.

It combines authenticated logging (Flow, Mood, Body) with real-time Firestore synchronization and strict security enforcement using Firebase Authentication and Firestore Rules.


Feature Set

  • Email/password authentication
  • Auth-gated log creation
  • Flow, Mood, Body structured logging
  • Real-time dashboard summary
  • Firestore-backed contact form
  • Strict user-scoped access control

Security Model

Firestore rules enforce:

  • create only if request.auth.uid == request.resource.data.userId
  • read only if request.auth.uid == resource.data.userId
  • update/delete restricted to document owner
  • Contact messages: write-only from client

No public data exposure.


Tech Stack

Frontend

  • Next.js (App Router)
  • React
  • TypeScript
  • Tailwind CSS

Backend

  • Firebase Authentication
  • Cloud Firestore
  • Firestore Security Rules

Deployment

  • Vercel

Project Structure

  • app/ dashboard/ flow/ mood/ body/ features/ about/ contact/
  • context/ auth-context.tsx
  • lib/ firebase.ts
  • firestore.rules

Current Status

  • Production deployment active
  • Auth-protected logging functional
  • Firestore rules validated
  • Contact system integrated
  • Real-time dashboard synchronization operational

Roadmap

  • Log editing and deletion
  • Pattern detection layer
  • Streak tracking
  • Data export (JSON / CSV)
  • Notification system

About

Full-stack web application for structured menstrual cycle tracking and pattern analysis.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages