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