nick-y-ito / x-twitter-clone

Home Page:https://x-clone-frontend-nine.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Z - Clone App of X (Twitter)

Screenshot 2024-03-14 at 14 34 23

Stack

  • TypeScript
  • React
  • Tailwind CSS
  • No other UI libraries are used

Features

What I Learned

  • How to organize the code for Context APIs
  • How to implement color theme switching functionality
  • How to create UI parts without using UI libraries
    • Character counter
    • Popover

Screen Captures

Character counter and expanding textarea

charactor-counter-and-expanding-textare.mov

Color Theme switching

color-theme-switching.mov

Getting Started

This project is a monorepo, so you need to install the dependencies for both the frontend and backend. Run the following commands in the root directory.

Install dependencies

npm ci

Run frontend and backend together

npm run dev

Run frontend and backend separately

npm run frontend
npm run server

About

https://x-clone-frontend-nine.vercel.app

License:MIT License


Languages

Language:TypeScript 89.2%Language:JavaScript 6.8%Language:CSS 2.8%Language:HTML 1.2%