Coder Social home page Coder Social logo

katlim89 / twitter-clone Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 78 KB

Twitter clone using ReactJS & Vite. Current branch has Firebase authentication, database & storage functions.

Home Page: https://twitter-clone-lac-sigma.vercel.app

JavaScript 98.45% HTML 1.55%
async async-thunk chatbot firebase firebase-authentication firebase-database firebase-storage firestore firestore-database neon

twitter-clone's Introduction

Twitter Clone using React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:


Tools [branch: main]:

  1. Backend database built using PostgreSQL in Neon (https://neon.tech/)
  2. Authentication (register/login/logout) using JSON Web Token (JWT) stored in local storage
  3. Frontend UI styled with Bootstrap, React Bootstrap & Bootstrap Icons
  4. Frontend base coding refactored with React Redux toolkit (async thunk functions)
  5. Bonus addition: AI chatbot built using OpenAI API

Tools [branch: firebase-v1]:

  1. Authentication function replaced with Firebase Authentication, including login using Google account
  2. Backend database replaced with Firestore Database (NoSQL)
  3. Includes: Firebase Storage to store uploaded images

Live demo hosted on Vercel: https://twitter-clone-lac-sigma.vercel.app/

** Minor issue (unsolved): unable to redirect to login page after logging out; need to manually change the website address to default (remove "/profile" from the end)

Working buttons in sidebar: Chatbot, Logout, Tweet

  • Clicking on Chatbot / Tweet button will open a Modal window.
  • Please be patient as AI Chatbot takes a few seconds to respond to user input, depending on complexity.

Working buttons in each post: heart (like/unlike function), pencil (edit function), trash-bin (delete function)

  • Clicking on trash-bin button will open a Modal window to confirm Delete action.

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.