TheInfamousGrim / twitter-t3-clone

a twitter clone made using the t3 stack 🐦

Home Page:https://twitter-t3-clone.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter T3 Clone

A twitter clone made using the awesome t3 stack!

Contributor Covenant Last Commit to Current Repo Commits a month

Table of Contents πŸ“ƒ

  1. Description
  2. Screenshot
  3. Installation
  4. Usage
  5. Technology
  6. Features
  7. Credits
  8. License
  9. Contribution Guidelines
  10. Feedback
  11. Socials

Description

This app was made as I wanted to explore making apps using the T3 stack. It's a CLI app builder that sets up the skeleton of a fully typesafe next js application. I also wanted to play around with using some other integrations like upstash for all the redis stuff like rate limiting, clerk for managing auth and much more!

You can tweet and view your profile and tweets. Will implement likes and comments when I get the time.

Link to application

What did I Learn 🏫

Main takeaways were learning to use the prisma ORM, tRPC to create typesafe APIs, Clerk for user auth and more!

I also learned how to use:

  • Learned more about using NextJS
    • slugs for variable routes for tweets and user profiles
    • How to make a 404 page
    • Using getStaticProps and generateStaticPaths to generate a static page
  • Using upstash to implement a redis database for rate limiting
  • How to use Planetscale to create and manage a deployed database
  • Using create T3 app to scaffold an application
  • React Hook Form

Screenshots

Web App Screenshot

Home page for GrimFunky's portfolio

Installation

In order to run my site locally then please follow these steps:

  1. Ensure that you have node and npm installed

  2. Ensure that you know the basics of the nextjs page router

    • Otherwise please follow this link and follow the docs for editing any of the pages.
  3. Clone this repository into your local repository.

    • git clone git@github.com:TheInfamousGrim/nextjs-personal-site.git.
  4. Install the dependencies

    • npm install

If you've followed these steps correctly then the application should be good to go 😁

Usage

Link to live application: Click here

Please follow these steps to use the application locally

  1. Spin up a developer server using webpack.

    • npm run dev

    • this will spin up a server and allow you to hot replace anything if you want to develop on my site further.

  2. open a new tab in your browser using the following URL or the one supplied in the terminal

    • http://localhost:3000/

Technology

The technologies used for the development of this app were:

JavaScript

TypeScript

NodeJS

React

Next JS

Prisma

MySQL

tRPC

TailwindCSS

daisyui

Vercel

Framer Motion

Features

  • SSR & SSG.
  • Built using nextjs.
  • Tailwind classes so there's no conflicting css.
  • Rate limiting thanks to Upstash
  • Auth thanks to Clerk
  • React Hook Forms to create easy validation and state management.
  • Fully animated with the help of Framer Motion.
  • Deployed using Vercel.

Credits

πŸ™ Made with the help of:

License

License: MIT

MIT License

Contribution Guidelines

I'm open to have anyone jump in and contribute just message me on twitter

Please follow the contribution guidelines! Guidelines for contributing

Feedback

Ask Me Anything Gmail

TheInfamousGrim portrait

Any feedback please email George Fincher

Socials

GitHub

LinkedIn

Twitter

Learn More About Create T3 App

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

You can check out the create-t3-app GitHub repository β€” your feedback and contributions are welcome!

How do I deploy a T3 App?

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

About

a twitter clone made using the t3 stack 🐦

https://twitter-t3-clone.vercel.app

License:MIT License


Languages

Language:TypeScript 92.8%Language:JavaScript 6.9%Language:CSS 0.3%