AdrianFerJ / v2go-api

V2go web app's repo contains client and server apps (django and angular), and infastructure setup for both apps, postgres, redis, and nginx using docker
0 stars 0 forks source link

Api refactoring #48

Closed niroigen closed 5 years ago

niroigen commented 5 years ago

A lot of changes happened here, and the conventions which I have followed can be seen in the following links

A good article on proper DRF practices, and I just have followed the first one for now https://medium.com/profil-software-blog/10-things-you-need-to-know-to-effectively-use-django-rest-framework-7db7728910e0

https://www.django-rest-framework.org/api-guide/routers/#defaultrouter http://www.cdrf.co/3.1/rest_framework.viewsets/ModelViewSet.html https://www.django-rest-framework.org/api-guide/generic-views/#concrete-view-classes

niroigen commented 5 years ago

Takes care of issue #16