A modern web application that provides spiritual guidance and fosters a community of prayer. Built with Next.js, TypeScript, and powered by Anthropic's Claude AI.
- Ask questions about modern-day situations
- Receive relevant scripture passages and interpretations
- AI-powered guidance based on biblical teachings
- Contextual explanations and practical applications
- Share prayers with the community
- Multiple prayer types:
- Praise
- Gratitude
- Support
- Testimony
- Encouragement
- General
- Each prayer includes:
- AI-generated relevant scripture
- Like functionality
- Sharing capabilities
- Timestamp
- Prayer type badge
- Beautiful, modern UI with smooth animations
- Responsive design for all devices
- Real-time character count and validation
- Toast notifications for user feedback
- Loading states and error handling
- Frontend: Next.js 14, TypeScript, React
- UI Components: Tailwind CSS, Shadcn/ui
- Animations: Framer Motion
- AI Integration: Anthropic Claude API
- State Management: React Hooks
- Icons: Lucide Icons
- Node.js 18+ installed
- Anthropic API key
- Clone the repository:
git clone https://github.com/rudijetson/wwjd.git
cd wwjd- Install dependencies:
npm install- Create a
.envfile in the root directory:
ANTHROPIC_API_KEY=your_api_key_here- Run the development server:
npm run dev- Open http://localhost:3000 in your browser
wwjd/
├── app/
│ ├── api/ # API routes
│ ├── components/ # React components
│ │ ├── prayers/ # Prayer-related components
│ │ └── ui/ # Reusable UI components
│ ├── lib/ # Utility functions
│ └── types/ # TypeScript types
├── public/ # Static assets
└── styles/ # Global styles
- Main component for seeking divine guidance
- Handles user questions and displays AI responses
- Includes scripture, context, and application
- Community prayer sharing interface
- Filterable by prayer type
- Displays prayer cards with scripture
- Form for submitting new prayers
- Type selection and content input
- Character limit validation
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js
- UI components from shadcn/ui
- Icons by Lucide
- AI powered by Anthropic Claude