bounswe / bounswe2017group5

Interestr - Build your own interest-based community
MIT License
6 stars 3 forks source link

Annotations (Backend) #204

Closed Morgazipa closed 6 years ago

Morgazipa commented 6 years ago

About

Implemented the backend for web annotations, also a added a simple test. The annotation model is described in #181.

Changes

ThoAppelsin commented 6 years ago

I have made a couple of remarks, one could possibly be problematic, since we do not really have our website located at interestr.com.

Aside from that, I may fail to provide a user id altogether. Could you please tolerate me failing at providing anything at all for the "creator" field? You already have made it a nullable field, so please allow me to define it as such, too.

The problem is that I cannot seem to be able to access the user id from the extension. To do that, I may require users to log in from the extension to their accounts, but that will be a lot of work.

Morgazipa commented 6 years ago

Good points. I changed the serializer to allow guest annotations.