https://github.com/ankitsinghsisodya/discuss
https://github.com/ankitsinghsisodya/discuss
nextauth nextjs prisma superbase
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ankitsinghsisodya/discuss
- Owner: Ankitsinghsisodya
- Created: 2025-03-03T17:26:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-28T11:50:15.000Z (7 months ago)
- Last Synced: 2025-12-28T21:53:44.529Z (6 months ago)
- Topics: nextauth, nextjs, prisma, superbase
- Language: TypeScript
- Homepage: https://discuss-nufb.vercel.app/
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discuss - Interactive Discussion Forum
Discuss is a modern web application built with Next.js that allows users to create topics, start discussions, and engage in meaningful conversations with others. With a clean, intuitive interface and real-time updates, it's the perfect platform for community discussions.
## Features
- **User Authentication** - Secure login via GitHub
- **Topic Creation** - Create interest-based discussion topics
- **Post Creation** - Start new discussions within topics
- **Comments** - Engage in conversations through threaded comments
- **Search Functionality** - Find relevant topics and discussions
- **Responsive Design** - Seamless experience across all devices
## Tech Stack
- **Frontend**: Next.js, React, TypeScript, Tailwind CSS
- **Backend**: Next.js API Routes, Server Actions
- **Database**: PostgreSQL with Prisma ORM
- **Authentication**: NextAuth.js with GitHub provider
- **Deployment**: Vercel
## Getting Started
### Prerequisites
- Node.js 18.x or higher
- PostgreSQL database (or Supabase account)
- GitHub OAuth application
### Installation
1. Clone the repository
2. Install dependencies
3. Set up environment variables
- `your_postgresql_connection_string`
4. Set up the database
- `init`
5. Run the development server
- `dev`
6. Open [http://localhost:3000](http://localhost:3000) in your browser
## Usage
### Creating a Topic
1. Sign in with your GitHub account
2. Click on the "New Topic" button
3. Enter a name and description for your topic
4. Click "Save changes"
### Creating a Post
1. Navigate to a topic
2. Click on "Create Post"
3. Enter a title and content
4. Click "Submit"
### Commenting on Posts
1. Click on a post to view its details
2. Scroll to the comment section
3. Enter your comment and click "save"
## Deployment
This project is configured for easy deployment on Vercel:
1. Push your code to GitHub
2. Import your repository in Vercel
3. Set the required environment variables
4. Set the build command to `npx prisma generate && next build`
5. Deploy
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Acknowledgments
- Next.js team for the amazing framework
- Prisma team for the excellent ORM
- Vercel for hosting and deployment
- All contributors who helped shape this project