Message Jar message web app banner

Message Jar message web app

2 devlogs
2h 30m 54s

This is a messaging web app with emphasis on a first class API. Users can create jars (like rooms), add people, remove people, and communicate effectively. I did not start this for hackclub, although I am excited to continue it with hackclub.

This project uses AI

Visual Studio code completion if available.

Demo Repository

Loading README...

gavhu10

I added rate limiting and API versioning. I also made so that you cannot add empty messages to a jar. The rate limiting was not too hard to do, but getting it deployed was. I started by using memcached and got it compiled on the pythonanywhere servers, but it could not connect for various reasons. I tried to use an external memcached serve, but I could not get authentication to to memcached server work with Flask-Limiter. Then I found the python package redislite. After a lot of fiddling around with unix domain sockets and testing the wrong endpoints, I got it to work!

Attachment
0
gavhu10

I just added a retype password check to the sign up and change password screens. This is a (very) small feature, but as I tested it and changed my password, I saw that it was not validating that the two new passwords were the same. Then I realized that it was not validating the new password at all, so someone could change their password to None (or whatever None hashed is) and so lock themselves out. 🤦Oh well; It’s fixed now.

Attachment
0