使用 T3 Stack + NextAuth + Supabase + Prisma 构建的 Twitter 克隆
This is an open source Twitter clone, Built with T3 Stack + NextAuth + Postgres(Supabase) + Prisma, It's a simple clone and may not be secure, So it's not recommended for production use.
Requirements
Postgres Database: I recommend Supabase, Register a supabase account > Create a new project > Create a new database.
Supabase Storage: Your project > Create a new Bucket > Add this policy to be able upload images via our backend:CREATE POLICY "" ON storage.objects FOR INSERT TO public WITH CHECK (bucket_id = '');
How to Run Locally
To run the project locally, follow these steps:
git clone https://github.com/AlandSleman/t3-twitter-clonenpm installnpx prisma db pushnpm run buildnpm startIf you want to use Express.js for the backend instead of Next.js, Check the other branch with-express
暂无开放 Issues,或尚未同步最近议题。