This project is a clone of a thread web application built with Next.js, TypeScript, React.js, MongoDB, and Clerk. It provides a platform for users to create threads, post comments, and engage in discussions.
- Thread Creation: Users can create new threads and initiate discussions on various topics.
- Commenting: Users can post comments on existing threads to share their thoughts.
- User Authentication: Secure user authentication using JWT tokens.
- MongoDB Integration: Data storage and retrieval using MongoDB for a scalable and efficient application.
- Next.js - React framework for server-rendered applications.
- React.js - A JavaScript library for building user interfaces.
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
- MongoDB - A NoSQL database for scalable and flexible data storage.
- Clerk - Clerk for authentication and authorization.
- Node.js and npm installed.
- Clerk tokens
- MongoDB server running.
-
Clone the repository:
git clone https://github.com/your-username/thread-webapp-clone.git
-
Install dependencies:
cd thread-webapp-clone npm install
-
Configure environment variables:
Create a
.env
file in the root directory and add the necessary environment variables:MONGODB_URI=your-mongodb-uri CLERK_TOKEN=your-clerk-token
-
Run the application:
npm run dev
The application should now be running on http://localhost:3000
.
Project is live at threads.nextjs.app