Warbler is a Flask-powered Twitter clone with functionality for users to:
- Register
- Sign in/out
- Follow/unfollow other users
- Like/unlike posts
- Update their profile
- View other user's profiles
- View a feed of posts from users they follow
- Go to achang-warbler.onrender.com
- Login
- Username: tuckerdiane
- Password: password
To run this app locally:
- Clone the repo
git clone [email protected]:alicechang29/flask-warbler.git
- Start Python Virtual Environment
python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip3 install -r requirements.txt
- Create an .env file to hold configuration
DATABASE_URL=postgresql:///warbler
SECRET_KEY=<insert your value here>
- Create postgreSQL database and seed the data
(venv) $ createdb warbler
(venv) $ python seed.py
- Start the Flask server
flask run -p 5001
- Open in browser: http://localhost:5001