Deployed Link: https://threads-woad.vercel.app/
- Created Threads prototype using Next.js, React, and TypeScript. This prototype can perform creating users, posting a thread, creating communities, inviting members and posting threads via the community page, replying and commenting on threads, and also getting activity updates on threads, and can perform many more functionalities !.
- Various tools such as Clerk is used for authentication and creating and using communities, MongoDB database for storing all kinds of data, shadcn for enhancing UI components and uploadthing for enabling file uploads in Next.js application.
- HTML
- TailwindCSS
- TypeScript
- MongoDB
- Next.js
- User authentication π€.
- Create and comments on threads π¬
- Individual user and community bio page with the total number of threads, replies, members, etc.π.
- Edit functionality for users and community βοΈ.
- Storing all thread data posted by users and the community π«.
- Mentioning real date, time, and name of the community when a user posts a thread as a member of a community β.
- Suggesting users and communities for a user to see and join π§βπ».
- Providing all updates on a thread by a user via the activity section π°
- Deleting thread functionality ποΈ.
- Learned how to use varoius tools such as Clerk, shadcn, and uploadthing to implement various functionalities for creating real world application in Next.js.
- Learned how to use MongoDB for storing and modifying data to produce correct and error-free results in deployed version of the application.
Step 1: Fork the repository. You can fork the repository by clicking on the fork button on the right-hand side below the profile.
Step 2: Clone your forked repository. Replace yourusername with your GitHub Username.
git clone "https://github.com/yourusername/Threads.git"
Step 3 : Go to the project folder and run npm i. It will install all the packages and dependencies used in the project.
npm i
Step 4 : Run npm run dev. This will start the project in your local machine π₯οΈ.
npm run dev
Hurray π₯³, you successfully deployed the project in your local machine π.
π¨But the app won't work because it will require API keys and MongoDB database connection link from various tools which are mentioned in Setup .env file section.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
MONGODB_URL=
UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=
NEXT_CLERK_WEBHOOK_SECRET=
If you found the project intresting then please do give this project a star β.
Made with π by Harshit Aditya