Skip to content

Repository files navigation

Jobly

Warbler is a full stack Twitter clone built with a Flask backend, PostgreSQL database and SQLAlchemy ORM. The frontend uses Jinja for HTML templating, jQuery and Axios for certain features.

Note: Please wait a few seconds for app to load. Heroku's dyno is often sleeping if no requests have been made in a while.

App Highlights

  • New users can log in / sign up
  • Logged in users can edit their user profile
  • Logged in users can follow and unfollow other users
  • Logged in users can write messages
  • Logged in users can like and unlike other users' messages
  • Logged in users can explore and search for other users
  • Logged in users can delete their profile

Upcoming features / Future Plans for Implementation

  • Users can delete their own messages
  • Users can change their password

Installation and Setup

  1. Clone the repository
  2. cd warbler
  3. Set up the virtual environment
  • python3 -m venv venv
  • source venv/bin/activate
  • pip3 install -r requirements.txt
  1. Create database
  • createdb warbler
  • createdb warbler-test
  • python3 seed.py
  1. Run the server
  • flask run

Running Tests

  • To run all tests: python3 -m unittest
  • To run specific test file: python3 -m unittest test_FILENAME.py

Technologies Used

  1. Flask - Backend framework
  2. Flask-WTForms - Integrates Flask with WTForms library, includes validations and CSRF protection
  3. PostgreSQL database
  4. SQLAlchemy - Object Relational Mapper (ORM) for interacting with database
  5. Jinja - HTML Templating for views
  6. Axios - Promise-based HTTP client for asynchronous requests

Authors

My partner for the project was @d-lee84

About

A Twitter clone built using Python, Flask, PostgreSQL, and Jinja templating.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages