Coder Social home page Coder Social logo

twitterclone's Introduction

TwitterClone

Based on Core principles of Twitter but different in many ways.

Hey there,

This repository contains the clone of Twitter. However, only the core principles of Twitter are same.

The site is visually very different and is basically my approach to build a relatively complex website like Twitter.

I've used MVC Framework to build this website.

I've used Bootstrap to develop this project. More about Bootstrap

Update: Added comments so that other users can view and understand my code better.

What is MVC?

The Model-View-Controller (MVC) is an architectural pattern that separates an application into three main logical components: the model, the view, and the controller. Each of these components are built to handle specific development aspects of an application. MVC is one of the most frequently used industry-standard web development framework to create scalable and extensible projects.

Features

  • Login/Signup system

  • Post/View Tweets - Easily post and view tweets.

  • Follow/Unfollow other users - Easily follow or unfollow users with one click.

  • Passwords are encrypted with a salt - For better security passwords are hashed with a salt variable.

  • Feed View - Users can view tweets of other users who they follow.

  • Real-Time Changes - When a new tweet is posted user doesn't have to reload the page. It is added automatically in real-time.

  • Responsive Web Design - With the help of Bootstrap the web can be easily accessed on any device.

  • Search - A search function to search tweets which contain the user entered string.

  • View Profiles - Users can simply view profiles of other users and their respective tweets.

  • Delete Tweets - Now, with a click of a button users can now delete their tweets.

Languages

  • PHP

  • JS & jQuery

  • CSS

  • HTML

ScreenShot

Alt text

Import the database

  1. Install Xampp
  2. Go to this link: http://localhost/phpmyadmin/
  3. Select the import tab button
  4. Select the Browse button
  5. Search and Open the "twitterdatabase.sql" file

Congratulations! you just created the database.

Common Questions

Note:You need to have Xampp installed on your machine.

  • I'm getting an error in this line: $link = mysqli_connect("localhost", "root", "", "twitterdatabase"); - This error is because you don't have the database on your pc.

  • How to view the TwitterClone? - Copy the files of this repo in the "htdocs" folder of the installed "xampp" folder. Then using this link http://localhost/TwitterClone/ you can view the TwitterClone.

Queries?

email me at [email protected]

License

MIT License

twitterclone's People

Contributors

pranavj1001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.