Flask back end for a twitter clone.
Made with Flask, SQLalchemy, WTForms and Bcrypt
- Create virtual environment and install dependencies
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
- Set up PSQL database and seed data
CREATE DATABASE warbler;
python3 seed.py
- Create .env file and set up environment variables
SECRET_KEY=[YOUR SECRET KEY]
DATABASE_URL=postgresql:///warbler
- Run server
flask run -p 5001