D77 #100DaysOfCode

Today I implemented a function that would allow a user to follow another user.

This was pretty heavy on database implementation so I’m not going to go into crazy detail on how this part was done, but I’ll cover it at a high level.

I had to create a new table called followers with a ForeignKey pointing to the User database.

I then created two new app routes.

Written on December 6, 2019