SolvedThis is a modern discussion platform that empowers communities to engage in meaningful conversations. Built with cutting-edge technologies, it offers a seamless experience for creating, sharing, and engaging with content. SolvedThis promotes healthy discussions within a secure and user-friendly environment.
- Create Threads: Users can easily create new discussion threads with rich text formatting and multimedia support
- Engage with Content: Like and share interesting discussions with the community
- Reply System: Participate in conversations through threaded replies and nested discussions
- Rich Text Editor: Customize content with a powerful editor supporting markdown, images, and embedded youtube
- Light/Dark Mode: Toggle between light and dark themes for comfortable viewing
- Responsive Design: Seamless experience across all devices and screen sizes
- Smart Search: Find relevant discussions and content quickly
- User Profiles: Customize your profile and track your contributions
- User Reputation: Earn points for quality contributions
- Email Verification: Secure account creation with email verification
- Password Recovery: Easy password reset process through email
- OAuth Integration: Multiple sign-in options for user convenience
- Account Management: Update profile information and security settings
- Nextjs: React framework for production
- TypeScript: Type-safe code
- Drizzle ORM: Modern TypeScript ORM
- PostgreSQL: Reliable database solution
- Better-Auth: Secure authentication system
- Shadcn/UI: Beautiful UI components
- TailwindCSS: Utility-first CSS
- Tiptap: Rich text editor integration
- Uploadthing: Manage file uploads
- Clone the project
git clone https://github.com/Ibaliqbal/SolvedThis.git
- Go to the project directory
cd SolvedThis
- Install dependencies
pnpm install
- Set up environment variables
cp .env.example .env.local
- Set up the database Before running the project, set up your PostgreSQL database and update your environment variables:
BETTER_AUTH_SECRET=
BETTER_AUTH_URL=http://localhost:3000
DATABASE_CONNECTION_STRING=postgresql://username:YOUR_PASSWORD@host:port/dbname
RESEND_API_KEY=
EMAIL_VERIFICATION_CALLBACK_URL=http://localhost:3000/email-verified
EMAIL_FROM=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
NEXT_PUBLIC_APP_URL=http://localhost:3000
- Run database migrations
pnpm db:generate
pnpm db:migrate
- Start the server
pnpm dev
If you have any feedback or inspiration for some feature, please reach out to us at issues.Your feedback makes us continue to grow
After logging in, users can:
- Create new discussion threads
- Engage with existing content through likes and replies
- Use the rich text editor for creating content
SolvedThis - Fostering Meaningful Discussions
Don't forget to ⭐ this repo if you found it helpful!