https://github.com/ibaliqbal/solvedthis
An open source discussion platform built with Next.js
https://github.com/ibaliqbal/solvedthis
better-auth discussion-platform drizzle-orm nextjs14 postgresql resend shadcn-ui tailwindcss tiptap-editor
Last synced: 2 months ago
JSON representation
An open source discussion platform built with Next.js
- Host: GitHub
- URL: https://github.com/ibaliqbal/solvedthis
- Owner: Ibaliqbal
- Created: 2025-02-17T14:08:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T05:36:07.000Z (7 months ago)
- Last Synced: 2025-05-20T02:50:34.368Z (5 months ago)
- Topics: better-auth, discussion-platform, drizzle-orm, nextjs14, postgresql, resend, shadcn-ui, tailwindcss, tiptap-editor
- Language: TypeScript
- Homepage: https://solvedthis.vercel.app
- Size: 1.58 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 SolvedThis

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.
## 🚀 Features
### Interactive Discussions
- **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### User Experience
- **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### Security & Authentication
- **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## 🛠 Techstack
- **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## Run Locally
1. Clone the project
```bash
git clone https://github.com/Ibaliqbal/SolvedThis.git
```2. Go to the project directory
```bash
cd SolvedThis
```3. Install dependencies
```bash
pnpm install
```4. Set up environment variables
```bash
cp .env.example .env.local
```5. Set up the database
Before running the project, set up your PostgreSQL database and update your environment variables:```bash
BETTER_AUTH_SECRET=
BETTER_AUTH_URL=http://localhost:3000DATABASE_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
```6. Run database migrations
```bash
pnpm db:generate
pnpm db:migrate
```7. Start the server
```bash
pnpm dev
```## Feedback
If you have any feedback or inspiration for some feature, please reach out to us at issues.Your feedback makes us continue to grow
## Usage
After logging in, users can:
- Create new discussion threads
- Engage with existing content through likes and replies
- Use the rich text editor for creating contentSolvedThis - Fostering Meaningful Discussions
Don't forget to ⭐ this repo if you found it helpful!