Skip to content

danpiths/t3-twitter-clone

Repository files navigation

T3 Twitter Clone

A clone of twitter that allows you to tweet, like a tweet, follow people and search for them, change your own profile and delete your profile without leaving a trace anywhere in the app, not even in the database!

This is a T3 Stack project bootstrapped with create-t3-app.

Visit Website

T3 stack essentially has,

  • Typescript to have a better experience working in Javascript land (types make the DX a 100x better, especially inferred types)
  • Next.js as the React Framework to create a full stack application
  • TailwindCSS for styling
  • Prisma as the ORM to connect to the database and manipulate/read data in it
  • tRPC for end-to-end typesafe APIs, so that I can make and call my APIs in one place (enables colocation for backend and frontend code)
  • Auth.js for authentication (Google Provider only)
  • Zod for schema validation

Other Libraries/Tech used are,

1

2

3

4

5

6

7

8

9

10

11

12

Run Locally

  1. Clone the repository
git clone https://github.com/danpiths/t3-twitter-clone.git
  1. Open a terminal in the cloned folder
  2. Install required packages
npm install
  1. copy the .env.example to .env and populate the environment variables from respective sources (all instructions should be clear in .env.example file)
  2. Synchronise the schema and database
npx prisma db push
  1. Run the app
npm run dev

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository

How do I deploy a T3 Stack App?

Follow their deployment guides for Vercel, Netlify and Docker for more information.

About

A Twitter Clone created using the T3 Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published