# Social media (twitter clone)

Text article sharing platorm made in python3.6 (using Flask lib)

## Installation
1) First install python3.6 in your respective system
2) Download this source code
```
git clone https://github.com/abhineetraj1/flask-social-media
cd flask-social-media
```

## Features
* Share textual stories and information
* Delete all your shared information at one click
* Change password and username
* Delete account

### For macOS

Open terminal , execute the below code

```
pip3 install flask
```

### For linux

Open terminal , execute the below code

```
sudo pip3 install flask
```

### For windows

Open command prompt (search for this, you'll get it) , execute the below code

```
pip3 install flask
```


## Execution

1) Delete the data file in folder - "ACC", "static" and "ISSUES"
2) Purchase your domain and setup email server in your hosting, or download nginx and setup mail server in that.
3) Open "app.py" file and replace the mailserver address, mail ID and mail server port according to your server.

### For macOS

1) Open terminal in the respective folder (where you have downloaded the project) write the below code and hit enter

```
flask run
```

2) And then open web browser and go to -> http://127.0.0.1:5000

### For Linux

1) Open terminal in the respective folder (where you have downloaded the project) write the below code and hit enter

```flask run```

2) And then open web browser and go to -> http://127.0.0.1:5000


### For Windows

1) Download this source code and double click on file -> app.py .

2) And then open web browser and go to -> http://127.0.0.1:5000

## Languages and tools used:
<p align="left"> <a href="https://getbootstrap.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/bootstrap/bootstrap-plain-wordmark.svg" alt="bootstrap" width="40" height="40"/> </a> <a href="https://www.w3schools.com/css/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original-wordmark.svg" alt="css3" width="40" height="40"/> </a> <a href="https://flask.palletsprojects.com/" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/pocoo_flask/pocoo_flask-icon.svg" alt="flask" width="40" height="40"/> </a> <a href="https://www.w3.org/html/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original-wordmark.svg" alt="html5" width="40" height="40"/> </a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a> <a href="https://www.python.org" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg" alt="python" width="40" height="40"/> </a> </p>

## Author
*	[abhineetraj1](http://github.com/abhineetraj1)
