Read my blog post about it here
First, clone the repository with
git clone https://github.com/arnu515/twitter-clone.git
cd twitter-clone
Set up the backend:
cd backend
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
Create the database:
$ python3 # open the shell
import app
app.db.create_all()
Run the application
python3 app.py
Set up the frontend in a new terminal window:
cd frontend
npm install
npm start