Live Site: [https://the-inner-circle-55b1a.web.app/]
Platform Theme: A sanctuary for preserving personal wisdom and sharing life's most meaningful insights.
People often learn valuable lessons but forget them over time. Digital Life Lessons is a comprehensive platform where users can create, organize, and explore life-changing wisdom. Built with a robust full-stack architecture, it offers a seamless experience for personal reflection and community learning.
- Plan-Based Visibility: Content is protected by "Free" and "Premium" access levels. Premium content features a professional blur-effect preview for non-paid users.
- Interactive Engagement: Real-time Like/Unlike system, Favorite lists, and an integrated Reporting system for community moderation.
- Advanced Discovery: Robust filtering by 5+ categories, 4+ emotional tones, and keyword-based search.
- Stripe Integration: Secure lifetime premium upgrade via Stripe Payment Gateway.
- Community Growth: Social media sharing using
react-shareand interactive comment sections. - Responsive Design: Fully optimized for Mobile, Tablet, and Desktop with a modern Glassmorphism UI.
- Core: React 19, React Router 7, Tailwind CSS 4.
- Data Fetching: TanStack Query (React Query) for caching and performance.
- Form & Validation: React Hook Form for optimized data entry.
- UI & UX: -
framer-motion&Lottie Reactfor smooth animations.Swiperfor dynamic hero sliders.Rechartsfor dashboard analytics visualization.SweetAlert2&React Toastifyfor professional feedback.
- Home: Quick overview of total lessons, favorites, and activity charts.
- Add Lesson: A secure form to create lessons with Title, Story, Category, Emotional Tone, and Image. (Premium level is restricted to upgraded users).
- My Lessons: Tabular view to edit, delete, or toggle visibility (Public/Private) and access levels.
- My Favorites: A curated collection of saved wisdom with filtering options.
- Profile: Manage personal info, view a grid of all self-created public lessons, and "Premium ⭐" badge.
- Overview: Platform-wide analytics (Total users, Lessons, and growth graphs).
- User Management: Monitor all registered users and promote/manage roles.
- Manage Lessons: Review all platform content, mark featured lessons, and delete inappropriate entries.
- Report Logs: Tabular list of community-flagged lessons with reasons; Admin can delete or ignore reports.
- Clone the repository:
git clone [https://github.com/your-username/digital-life-lessons-client.git](https://github.com/your-username/digital-life-lessons-client.git)
- Install dependencies:
npm install
- Create a
.env.localfile and add your Firebase and Stripe keys:VITE_apiKey=your_api_key VITE_authDomain=your_auth_domain ...
- Start the development server:
npm run dev
@tanstack/react-query, firebase, framer-motion, axios, react-router, react-share, sweetalert2, swiper, recharts, tailwindcss.