Skip to content

alicechang29/flask-warbler

Repository files navigation

Warbler

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

Built with: Python, Flask, Jinja, SQLAlchemy, PostgreSQL

Demo

Video Demo:

Watch a demo

Demo as a User:

  1. Go to achang-warbler.onrender.com
  2. Login
    • Username: tuckerdiane
    • Password: password

Installation

To run this app locally:

  1. Clone the repo
git clone [email protected]:alicechang29/flask-warbler.git
  1. Start Python Virtual Environment
python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip3 install -r requirements.txt
  1. Create an .env file to hold configuration
DATABASE_URL=postgresql:///warbler
SECRET_KEY=<insert your value here>
  1. Create postgreSQL database and seed the data
(venv) $ createdb warbler
(venv) $ python seed.py
  1. Start the Flask server
flask run -p 5001
  1. Open in browser: http://localhost:5001

Collaborators

Aubrey Sherman

Releases

No releases published

Packages

No packages published