first blood

Signed-off-by: ruohan.chen <crhan123@gmail.com>
add first serializer

Signed-off-by: ruohan.chen <crhan123@gmail.com>
refactor Serializer to ModelSerializer

Signed-off-by: ruohan.chen <crhan123@gmail.com>
add snippet views and urls

Signed-off-by: ruohan.chen <crhan123@gmail.com>
refactor to use rest_framework api_view and default suffix json

Signed-off-by: ruohan.chen <crhan123@gmail.com>
refactor to use APIView class

Signed-off-by: ruohan.chen <crhan123@gmail.com>
using mixins

Signed-off-by: ruohan.chen <crhan123@gmail.com>
using generic class based views

Signed-off-by: ruohan.chen <crhan123@gmail.com>
adding owner to SnippetSerializer add UserList UserDetail

Signed-off-by: ruohan.chen <crhan123@gmail.com>
adding required permission to views

Signed-off-by: ruohan.chen <crhan123@gmail.com>