Skip to content

DmitriyBartenev/T3

Repository files navigation

T3

This is a Twitter clone built using the T3 Stack. The application allows users to post their favorite emojis and view posts left by other users. To start posting, users must first log in with their account.

The T3 Stack includes tRPC and Prisma for server and database management. tRPC provides a type-safe and efficient way to define API endpoints and handle requests and responses between the client and server. Prisma, on the other hand, is an ORM (Object-Relational Mapping) tool that simplifies database management and makes it easy to work with databases using a type-safe API. Together, tRPC and Prisma allow for a fast and efficient web application with powerful database management capabilities.

Next.js is used for server-side rendering, TailwindCSS for styling and React for front-end development.

Features

  • Login with your GitHub account
  • Post your favorite emojis
  • View posts left by other users
  • Rate limiting to prevent abuse

Usage

  • Log in with your account
  • Leave your emoji
  • Click the "Post" button to post your favorite emoji
  • View posts left by other users on the homepage
  • Click on a user's username to view their posts
  • Click on a post itself to view info about it

Future Improvements

While this Twitter clone is functional, there are several improvements that can be made to enhance its functionality and user experience. Some of these improvements include:

  • Adding like and comment functionality to posts
  • Implementing search and filtering options for posts
  • Adding pagination to the homepage to allow users to view more posts
  • Enhancing the UI with more dynamic and interactive elements

Conclusion

This Twitter clone built using the T3 Stack provides a powerful and modern web application that allows users to post their favorite emojis and see posts left by other users. With its robust and scalable technology stack, this application is a great starting point for anyone looking to build their own web application using cutting-edge technologies.