Giter Site home page Giter Site logo

tramleit / t3-twitter-clone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alandsleman/t3-twitter-clone

0.0 0.0 0.0 1.08 MB

Twitter clone built with T3 Stack + NextAuth + Supabase + Prisma

Home Page: https://twitter-clone.kurdmake.com

Shell 0.20% JavaScript 0.34% TypeScript 98.61% CSS 0.84%

t3-twitter-clone's Introduction

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 "<policy name>" ON storage.objects FOR INSERT TO public WITH CHECK (bucket_id = '<bucket-name>');

How to Run Locally

To run the project locally, follow these steps:

  • Clone the project git clone https://github.com/AlandSleman/t3-twitter-clone
  • Copy the contents of the .env.example file into a new file named .env, then replace the values with your own.
  • Install the project dependencies by running npm install
  • Push the Prisma schema to the database npx prisma db push
  • Build the project npm run build
  • Start the project npm start

If you want to use Express.js for the backend instead of Next.js, Check the other branch with-express

t3-twitter-clone's People

Contributors

alandsleman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.