Skip to content

fredseteA/remember-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

221 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•ŠοΈ Remember QRCode - Digital Memorials Platform

License Python FastAPI Firebase Status

Complete B2B2C SaaS platform for creating, managing, and publishing personalized digital memorials, connecting physical and digital memories through QR Code technology with an affiliate system for funeral homes and cemeteries.

English | VersΓ£o em PortuguΓͺs

🌐 Production: rememberqr.online


πŸ“‹ Table of Contents


🌟 About the Project

Remember QRCode is a complete SaaS platform that revolutionizes memory preservation by combining:

  • B2C β†’ End customers creating memorials for loved ones
  • B2B β†’ Strategic partnerships with funeral homes and cemeteries through affiliate system
  • Admin β†’ Complete management panel for production and analytics

πŸ’‘ How It Works

  1. Free Creation: Anyone can create a digital memorial for free
  2. Draft System: Memorial stays saved as draft, allowing unlimited edits
  3. Paid Publication: After content approval, choose a plan for official publication
  4. Unique QR Code: Each published memorial receives an exclusive, permanent QR Code
  5. Physical Plaque (Optional): Stainless steel plaques with engraved QR Code for installation on graves

✨ Technical Differentiators

  • πŸ” Firebase Authentication: Robust system with custom claims (user/supporter/admin)
  • πŸ’³ Automated Payments: Mercado Pago integration with idempotent webhooks
  • πŸ“Š Complete Analytics: Real-time dashboard with financial and operational metrics
  • 🀝 Affiliate System: Automatic commissions for partners with 3 tiers (10%/15%/20%)
  • πŸ“§ Transactional Emails: HTML templates via Resend for each order stage
  • πŸ”„ Idempotent Processing: Webhooks can be received multiple times without duplicating data
  • πŸ“ Complete Auditing: Detailed logs of all administrative actions
  • 🎯 Prioritized Notifications: Alert system with urgency levels (critical/high/normal/low)
  • 🌐 Bilingual: Full PT/EN support via react-i18next with animated flag switcher

πŸš€ Features

For Users

  • βœ… Memorial Creation β€” Intuitive 3-step form with photo crop, gallery and audio upload
  • βœ… Draft System β€” Edit freely before publishing
  • βœ… Preview β€” See the full memorial before choosing a plan
  • βœ… Memorial Management β€” Edit, visibility controls, gallery management
  • βœ… Condolences β€” Leave and view condolence messages with preset or custom text
  • βœ… Email Notifications β€” Order confirmed, in production, shipped (with tracking), delivered

For Administrators

  • βœ… Complete Admin Panel β€” Memorial, order, production, shipping and user management
  • βœ… Financial Dashboard β€” Revenue, profit, cost tracking in real time
  • βœ… Supporter Management β€” Approve partners, view performance, configure commission tiers
  • βœ… QR Code Generator β€” PNG (high-res), PDF (print-ready 50Γ—50mm), SVG (vectorized)
  • βœ… Prioritized Notifications β€” Critical alerts for payments, orders and system events
  • βœ… Audit Logs β€” Full history of all administrative actions

For Supporters (Partners)

  • βœ… Exclusive Affiliate Code β€” Share code for client discounts
  • βœ… Sales Dashboard β€” Track commissions and performance
  • βœ… Tiered Commissions β€” Automatic tier upgrades based on volume

πŸ’Ž Publishing Plans

πŸ“± Digital Plan β€” R$ 29,90

  • Official publication with permanent link
  • Personalized QR Code
  • Unlimited access and future edits
  • Ideal for online-only memorials

πŸ›οΈ Physical Plan β€” R$ 149,90

  • Everything in the Digital Plan
  • High-quality stainless steel plaque
  • Permanently engraved QR Code
  • Shipping across Brazil with tracking
  • Ideal for graves, tombs and memorial gardens

🀝 Supporter Program

Strategic partnership system for funeral homes, cemeteries, and funeral service providers.

Monthly Volume Commission
Standard 10%
High volume 15%
Premium volume 20%
  • Clients using a supporter code receive 5% discount
  • Supporters access a dedicated dashboard with sales and commission reports

πŸ› οΈ Technologies

Frontend

React.js Β· Vite Β· Tailwind CSS Β· React Router Β· Axios
react-i18next Β· Firebase SDK Β· Radix UI Β· Sonner

Backend

Python 3.11 Β· FastAPI Β· Firebase Admin SDK Β· Firestore
Mercado Pago API Β· Resend (emails) Β· Pydantic

Infrastructure

Vercel (frontend) Β· Fly.io (backend) Β· Firebase (auth + database)
Firebase Storage (media) Β· GitHub Actions (CI/CD)

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              FRONTEND β€” React + Vite (Vercel)           β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚   Public    β”‚  β”‚     User     β”‚  β”‚     Admin     β”‚  β”‚
β”‚  β”‚  (Landing)  β”‚  β”‚  (Dashboard) β”‚  β”‚    (Panel)    β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
                            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚           BACKEND β€” FastAPI (Fly.io Β· GRU region)       β”‚
β”‚   Routers: auth Β· memorials Β· payments Β· admin          β”‚
β”‚            reviews Β· affiliate                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β–Ό                 β–Ό                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Firestore  β”‚  β”‚  Firebase Auth   β”‚  β”‚   Firebase   β”‚
β”‚  (Database)  β”‚  β”‚  (custom claims) β”‚  β”‚   Storage    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚                                    β”‚
          β–Ό                                    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Mercado Pago β”‚                    β”‚  Resend (email)  β”‚
β”‚  (payments   β”‚                    β”‚  HTML templates  β”‚
β”‚  + webhooks) β”‚                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ’» Installation

Prerequisites

  • Node.js >= 18
  • Python >= 3.11
  • Firebase project with Firestore enabled
  • Mercado Pago account
  • Resend account

Clone the Repository

git clone https://github.com/fredseteA/remember-platform.git
cd remember-platform

Frontend

cd frontend
npm install
cp .env.example .env
npm run dev

Backend

cd backend
pip install -r requirements.txt
cp .env.example .env
uvicorn main:app --reload

βš™οΈ Configuration

Frontend .env

VITE_API_URL=https://remember-qrcode-api.fly.dev
VITE_FIREBASE_API_KEY=...
VITE_FIREBASE_AUTH_DOMAIN=...
VITE_FIREBASE_PROJECT_ID=...
VITE_FIREBASE_STORAGE_BUCKET=...
VITE_FIREBASE_MESSAGING_SENDER_ID=...
VITE_FIREBASE_APP_ID=...

Backend .env

FIREBASE_CREDENTIALS=...
MERCADOPAGO_ACCESS_TOKEN=...
RESEND_API_KEY=...
FRONTEND_URL=https://rememberqr.online

πŸ“‘ API

Base URL: https://remember-qrcode-api.fly.dev

Main Endpoints

# Auth
POST   /auth/verify

# Memorials
GET    /memorials/explore
POST   /memorials
GET    /memorials/:id
PUT    /memorials/:id
GET    /memorials/by-slug/:slug

# Payments
POST   /payments/create-checkout
POST   /webhooks/mercadopago

# Admin
GET    /admin/dashboard
GET    /admin/orders
PUT    /admin/orders/:id/status

# Supporters
GET    /supporters/validate/:code
GET    /affiliate/dashboard

# Reviews & Condolences
GET    /reviews
POST   /reviews
GET    /memorials/:id/condolences
POST   /memorials/:id/condolences

πŸ”’ Cancellation Policy

  • βœ… 7 calendar days right of withdrawal from order confirmation
  • βœ… Full refund processed via Mercado Pago
  • ❌ Physical products already shipped cannot be cancelled

πŸ—ΊοΈ Roadmap

Phase 1 - Core Platform βœ…

  • Memorial creation with 3-step form and photo crop
  • Draft and preview system
  • Firebase authentication with custom claims
  • Mercado Pago payment integration with webhooks
  • Digital and physical publishing plans
  • QR Code generation (PNG, PDF, SVG)

Phase 2 - Operations & Partnerships βœ…

  • Complete admin panel with financial dashboard
  • Production and shipping order management
  • Transactional email system via Resend
  • Affiliate/supporter program with tiered commissions
  • Condolences system with preset messages
  • Reviews and testimonials system
  • Prioritized notification system
  • Complete audit logs

Phase 3 - Bilingual & Polish βœ…

  • Full PT/EN bilingual system via react-i18next
  • Animated flag language switcher
  • All pages and components translated

Phase 4 - Planned πŸ“‹

  • Mobile app (iOS/Android)
  • AI-assisted biography generation
  • Interactive life timeline
  • Virtual donations and flowers
  • Augmented reality memorial viewer

πŸ“„ License

MIT License β€” see LICENSE for details.


πŸ“ž Contact


Made with ❀️ to preserve memories forever

⬆ Back to top

About

πŸ•ŠοΈ Full-stack SaaS platform for digital memorials with QR codes, payment system, and affiliate program | Production-ready

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors