/Twitter-clone

A fully functional social networking web app, inspired by Twitter.

Primary LanguageJavaScript

Twitter Clone

A fully functional social networking web app, inspired by Twitter. Built with React, GraphQL, MongoDB, and Node.

Functionalities: create/delete posts, add likes/comments, follow/unfollow users.

Don't forget to add your database url and api keys in config.js.

TO LAUNCH THE SITE:

  1. run yarn start in the backend directory -- connects to the MongoDB database.
  2. run yarn start in the frontend directory.
  3. Go to http://localhost:3000 (your GraphQL playground is up at localhost:5000).

IDEAS FOR EXTRA FEATURES:
Add live chat (messenging) functionality using socketIO

Important directories

backend/ -- set up your database, create the rules for queries and mutations, and authorize the user

frontend/ -- set up the client interface and connect to your backend, handle verification of users and create pages and their components, and write queries/mutations, helper functions, and styles for the parts of your app

Screenshots