the back end of the app. build in django rest framework