A comprehensive mobile-first web application designed to support Christian spiritual growth through prayer, Bible study, habit tracking, and AI-powered spiritual guidance.
Live Demo: https://lightpathapp-zbfyvxk9.manus.space
LightPath is a modern spiritual companion app that helps Christians deepen their faith through structured prayer journaling, daily Bible reading, habit tracking, and personalized spiritual mentorship. Built with cutting-edge web technologies, it provides a seamless experience across all devices.
- π Prayer Journal - Record, track, and reflect on your prayers with category organization and answered prayer tracking
- π Holy Bible - Complete King James Version Bible with 31,000+ verses, bookmarks, and reading progress tracking
- π Dreams Interpreter - AI-powered spiritual dream interpretation with mood tracking and saved interpretations
- π§ Spiritual Mentor - AI chat companion providing biblical guidance and spiritual advice
- π Devotionals - Curated daily devotional content with bookmarking and sharing capabilities
- β‘ Habit Tracker - Build spiritual disciplines with streak tracking and daily completion logging
- π Global Search - Instantly search across all prayers, Bible verses, and devotionals
- π Dashboard - Personalized dashboard with daily verse, prayer stats, and quick access to all features
- π Secure Authentication - Email/password and OAuth login with session management
- Node.js 22.13.0 or higher
- pnpm package manager
- MySQL/TiDB database
- Git
-
Clone the repository
git clone https://github.com/Youngkala/Light-Path.git cd Light-Path -
Install dependencies
pnpm install
-
Set up environment variables Create a
.envfile in the root directory:DATABASE_URL=mysql://user:password@localhost:3306/lightpath JWT_SECRET=your_jwt_secret_key VITE_APP_ID=your_oauth_app_id OAUTH_SERVER_URL=https://api.manus.im VITE_OAUTH_PORTAL_URL=https://portal.manus.im
-
Run database migrations
pnpm drizzle-kit generate pnpm drizzle-kit migrate
-
Seed Bible data (Optional - for full Bible content)
node server/seeds/seedCompleteBible.mjs
-
Start the development server
pnpm dev
The app will be available at
http://localhost:3000
lightpath/
βββ client/ # React frontend
β βββ src/
β β βββ pages/ # Page components (Dashboard, Search, etc.)
β β βββ components/ # Reusable UI components
β β βββ lib/ # tRPC client and utilities
β β βββ hooks/ # Custom React hooks
β β βββ contexts/ # React contexts
β β βββ index.css # Global styles (Tailwind)
β βββ public/ # Static assets
βββ server/ # Express backend
β βββ routers.ts # tRPC procedure definitions
β βββ db.ts # Database queries and helpers
β βββ _core/ # Core infrastructure
β β βββ auth/ # Authentication logic
β β βββ llm.ts # LLM integration
β β βββ trpc.ts # tRPC setup
β β βββ ...
β βββ seeds/ # Database seed scripts
βββ drizzle/ # Database schema and migrations
β βββ schema.ts # Table definitions
β βββ migrations/ # Generated SQL migrations
βββ shared/ # Shared types and constants
βββ storage/ # S3 file storage helpers
- React 19 - UI framework
- Tailwind CSS 4 - Utility-first styling
- shadcn/ui - Component library
- tRPC - End-to-end type-safe APIs
- Wouter - Lightweight routing
- Vite - Build tool
- Express.js - Web server
- tRPC - RPC framework
- Drizzle ORM - Type-safe database access
- MySQL/TiDB - Database
- Zod - Schema validation
- LLM Integration - AI-powered dream interpretation and mentorship
- OAuth 2.0 - Secure authentication
- S3 Storage - File storage
Track your spiritual conversations with God. Each prayer can be categorized, marked as answered, and reflected upon over time.
Access the complete King James Version Bible with:
- Book browsing (66 books organized by Old/New Testament)
- Chapter navigation with verse reading
- Verse bookmarking for quick reference
- Reading progress tracking
- Full-text search across all verses
Explore the spiritual meaning of your dreams using AI:
- Record dream content and mood
- Get AI-powered biblical interpretation
- Save favorite interpretations
- Track dream patterns over time
Chat with an AI spiritual guide that:
- Provides biblical advice and guidance
- Answers spiritual questions
- Offers encouragement and wisdom
- Maintains conversation history
Instantly search across:
- Your prayer journal entries
- All Bible verses (31,000+)
- Devotional content
- Results organized by category with direct navigation
Run the test suite:
pnpm testRun tests in watch mode:
pnpm test:watchView test coverage:
pnpm test:coverageLightPath supports two authentication methods:
- Sign up with email and password
- Secure password hashing with bcrypt
- Password reset via email token
- Login with Manus OAuth provider
- Seamless session management
- Automatic user profile creation
LightPath is fully responsive and optimized for:
- π± Mobile phones (320px and up)
- π± Tablets (768px and up)
- π» Desktop (1024px and up)
The app uses a mobile-first approach with bottom navigation for easy thumb access on phones.
- Primary: Deep blue (#1e40af)
- Accent: Warm orange (#ea580c)
- Background: Dark navy (#0f172a)
- Foreground: Light gray (#f1f5f9)
- Headings: Serif font for elegance
- Body: Sans-serif for readability
- Code: Monospace for technical content
The app is configured for serverless deployment on Cloud Run with:
- Autoscaling (0 to N instances)
- 512MB RAM per instance
- 180s request timeout
- Automatic HTTPS
To deploy:
pnpm build
# Push to your deployment platformUpdate your domain settings in the Manus dashboard:
- Go to Settings β Domains
- Add your custom domain
- Update DNS records as instructed
- Wait for SSL certificate provisioning
- Verify
DATABASE_URLis correct - Ensure MySQL/TiDB server is running
- Check network connectivity
- Ensure Bible verses are seeded:
node server/seeds/seedCompleteBible.mjs - Check database has content:
SELECT COUNT(*) FROM bibleVerses;
- Verify OAuth credentials in environment variables
- Check session cookie settings
- Clear browser cookies and try again
- Verify
BUILT_IN_FORGE_API_KEYis set - Check API endpoint in
BUILT_IN_FORGE_API_URL - Review LLM response in browser console
prayers.list- Get user's prayersprayers.create- Create new prayerprayers.update- Update prayerprayers.delete- Delete prayer
bible.getBooks- List all booksbible.getChapter- Get verses for chapterbible.bookmarkVerse- Bookmark a versebible.getBookmarks- Get user's bookmarks
search.global- Search across all content
dreams.submit- Submit dream for interpretationdreams.getHistory- Get dream historydreams.save- Save dream interpretation
mentor.chat- Send message to AI mentormentor.history- Get chat history
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow existing code style
- Write tests for new features
- Update README for significant changes
- Keep commits atomic and descriptive
This project is licensed under the MIT License - see the LICENSE file for details.
- King James Bible - Public domain Bible translation
- shadcn/ui - Beautiful component library
- Tailwind CSS - Utility-first CSS framework
- tRPC - Type-safe RPC framework
- Drizzle ORM - Modern database toolkit
For issues, questions, or suggestions:
- GitHub Issues - Report bugs and request features
- Email - Contact the development team
- Documentation - Check the docs folder for detailed guides
- Verse commentary and cross-references
- Bible reading plans (90-day, yearly, etc.)
- Community prayer groups
- Verse sharing and social features
- Offline Bible reading
- Audio Bible narration
- Prayer reminders and notifications
- Advanced analytics and insights
- Mobile app (iOS/Android)
- Multi-language support
- Total Features: 8 major features
- Database Tables: 15+ tables
- API Endpoints: 40+ tRPC procedures
- Bible Content: 31,000+ verses (KJV)
- Test Coverage: 48+ unit tests
- Code Lines: 5,000+ lines of production code
LightPath aims to be the go-to spiritual companion app for Christians seeking to:
- Deepen their prayer life
- Study Scripture consistently
- Build spiritual disciplines
- Find guidance and encouragement
- Connect with their faith community
We believe technology should serve faith, not replace it. LightPath is designed to be a tool that brings people closer to God and to each other.
Made with β€οΈ for spiritual growth
Last Updated: June 2026 Version: 1.0.0