Published: 06/09/2019

What did I do this week?

Past week, I've worked on restructuring the project when I introduced

- flask-sqlalchemy: a library to manage an ORM of the database and app

- token based authentication: I moved the project from an email-password authentication to a token-based authentication. I got a pull-repository of this changes reviewed and merged to my branch in origin repository.

Wrote tests for the user related routes. After this, I started working on sockets module, in a new class in the file `sockets_manager.py`.

What is coming up next?

I have been writing code to test sockets. It's my first time testing a socket-based application, so I am quite excited about it. After I get my code up to sockets reviewed, I will be coding more on modules facilitating message I/O on top of the socket layer.

Did I get stuck anywhere?

I got stuck in multiple places, there were a few circular dependencies issues I had to face which led me to restructure my app, during usage of flask-sqlalchemy, and sockets. Besides this, I realized that I can't use flask-socketio, and python-socketio for the same app due to a dependency issue as of now. I'll look more into that with my mentor later. For now, I am using a different library to implement a websocket client.