Warbler is a Twitter like messaging board, where users can register, login, like, comment and make posts of thier own was well as others on the platform.
Test Login: guest pw: password
This project was built in a 3.5 day sprint with @nicom as a part of Rithm School. Much of the code was given to us, it was up to us to find and fix many errors in the codebase, as well as implement certain unfinished features and build up the testing suite.
The major challenge with the project was it was the first time working with a codebase of decent size that we were unfamiliar with. We then had to budget time to implement fixes.
JavaScript | Python | Flask | SQLAlchemy | Jinja
- User registration/authentication/profile deletion
- Posting, liking, and deleting messages
- Following/unfollowing users
- Chronological feed of followed-users' messages
- Password hashing with bCrypt
- 92% test coverage
- Create a virtual environment and install requirements:
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r requirements.txt
- Set up the database (PostgreSQL):
$ psql
=# CREATE DATABASE warbler;
(ctrl+D)
$ python3 seed.py
- Add a .env file with:
SECRET_KEY=(any secret key you want)
DATABASE_URL=postgresql:///warbler
- Run the server:
$ flask run -p 5001
- View at
localhost:5001
- Fix background image formatting
- Fix login "unsuccessful" UI message
- Shift to responsive, SPA front-end framework
- Additional testing