A simplified Reddit clone built with Next.js, featuring user authentication, topic creation, posting, and commenting functionalities.
- User authentication (login/logout)
- Topic creation
- Post creation within topics
- Commenting on posts and replies to comments
- Topic-based post filtering
- Keyword search for post titles
- Next.js
- TypeScript
- next-auth for authentication
- TailwindCSS for styling
- Server Actions for data mutations
- Server-Side Rendering (SSR) and Static Site Generation (SSG)
- Incremental Static Regeneration (ISR)
- Next.js Image component for optimized images
- Clone the repository:
git clone https://github.com/linhung0319/discuss_board.git
- Install dependencies:
npm install
- Run the development server:
npm run dev
This project is configured for easy deployment on Vercel. Simply connect your GitHub repository to Vercel for automatic deployments on every push to the main branch.
For other hosting platforms, ensure you set up the necessary environment variables and build commands as specified in the package.json
file.
If you have any questions or suggestions about this project, feel free to contact me:
- Email: linhung0319@gmail.com
- Portfolio: My Portfolio
- Linkedin: My Linkedin