AI-Powered Digital Memory Companion for Alzheimer's and Dementia Care
Memory Bridge is an AI-powered memory preservation platform designed to help individuals with Alzheimer's disease and other cognitive impairments preserve, organize, and revisit their life memories. The platform transforms photos, audio recordings, and personal stories into meaningful digital memories using modern AI technologies.
Built with a scalable microservice architecture, Memory Bridge combines a React frontend, Express.js backend, FastAPI-based AI services, PostgreSQL, Prisma ORM, Redis caching, and Google Gemini to provide an intelligent and personalized memory assistance experience.
- Secure JWT Authentication
- Refresh Token Support
- Password Encryption using bcrypt
- Forgot Password via Email
- Protected Routes
- Role-Based Access Control
Users can:
- Create Memories
- Edit Memories
- Delete Memories
- Organize Memories into Collections
- Categorize Memories
- Search Memories
- Upload Images
- Upload Audio Memories
Memory Bridge supports voice-based memory creation.
Pipeline:
Audio Recording
β
Speech Transcription
β
AI Processing
β
Memory Generation
β
Storage in Database
Using Google Gemini, the platform automatically:
- Generates structured memories
- Summarizes experiences
- Creates emotional descriptions
- Extracts important events
- Generates life stories
- Provides intelligent chat assistance
The platform includes an AI companion capable of:
- Answering questions about stored memories
- Helping users recall events
- Providing conversational support
- Understanding memory context
- Maintaining chat sessions
Multiple memories can be transformed into coherent life stories.
Features include:
- Story Generation
- Story Storage
- Story Playback
- AI-generated Narratives
The application generates personalized life summaries by analyzing user memories.
Insights include:
- Major Life Events
- Frequently Mentioned People
- Important Locations
- Personal Interests
- Emotional Timeline
- Memory Highlights
Interactive dashboard showing:
- Total Memories
- Collections
- Stories Created
- Recent Activity
- AI Insights
- Redis Caching (Upstash)
- Cache Invalidation
- API Compression
- Helmet Security
- Rate Limiting
- Optimized Database Queries
React Frontend
β
βΌ
Express.js Backend
β
βββββββββββββββββΌββββββββββββββββ
β β β
βΌ βΌ βΌ
PostgreSQL FastAPI AI Cloudinary
Prisma Services Storage
β β
ββββββββΊ Google Gemini ββββββββ
- React 19
- Vite
- React Router
- Zustand
- React Hook Form
- Tailwind CSS
- Axios
- Recharts
- Node.js
- Express.js
- Prisma ORM
- PostgreSQL
- JWT Authentication
- bcrypt
- Cookie Parser
- Multer
- Cloudinary
- Nodemailer
- FastAPI
- Google Gemini
- OpenAI Whisper
- PyTorch
- PostgreSQL
- Prisma ORM
- Upstash Redis
Frontend
- Vercel
Backend
- Render
AI Service
- FastAPI Deployment
Database
- PostgreSQL
Memory_Bridge
β
βββ frontend
β βββ src
β βββ components
β βββ pages
β βββ hooks
β βββ assets
β
βββ backend
β βββ prisma
β βββ src
β β βββ controllers
β β βββ routes
β β βββ middleware
β β βββ services
β β βββ config
β β βββ utils
β βββ sql
β
βββ ml_service
βββ routers
βββ services
βββ utils
βββ models
git clone https://github.com/Madhurtandon1/Memory_Bridge.git
cd Memory_Bridgecd backend
npm install
npm run devcd frontend
npm install
npm run devcd ml_service
pip install -r requirements.txt
uvicorn app:app --reloadPORT=
DATABASE_URL=
JWT_SECRET=
JWT_REFRESH_SECRET=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
GEMINI_API_KEY=
REDIS_URL=
EMAIL_USER=
EMAIL_PASSWORD=- Register
- Login
- Logout
- Refresh Token
- Forgot Password
- Create Memory
- Update Memory
- Delete Memory
- Search Memories
- Upload Audio
- Create Collection
- Manage Collections
- Generate Story
- Save Story
- Retrieve Stories
- Chat with Memory Assistant
- Conversation History
- Generate Personalized Insights
- JWT Authentication
- Refresh Tokens
- Password Hashing
- Secure Cookies
- Helmet
- CORS Protection
- Rate Limiting
- Environment Variable Management
- Face Recognition
- Family Collaboration
- Memory Timeline Visualization
- Calendar Integration
- Mobile Application
- Multi-language Support
- Emotion Detection
- Voice Cloning
- Reminder Scheduling
Madhur Tandon
Birla Institute of Technology, Mesra
GitHub: https://github.com/Madhurtandon1
This project is intended for educational and research purposes.