Answer the question
In order to leave comments, you need to log in
Process of writing custom UI components with Backbone.js?
App Type: SPA
Libraries: RequireJS, RequireJS text plugin, backbone, jquery, bootstrap, backgrid.
REST API: django-rest-framework
Authentication: JWT token, which is added to headers in Backbone.sync and stored in a cookie.
Task access point:
GET POST /api/task
PUT PATCH DELETE /api/task/{id}
{
"id": 54,
"url": "http://localhost:8000/api/task/54",
"base_task": null,
"title": "At vero eos et accusamus",
"text": "iusto odio dignissimos ducimus qui blanditiis praesentium ",
"created_date": "2016-01-19T09:55:21.207730",
"priority": 0,
"status": 0,
"project": 2,
"owner": 8,
"responsible": 1,
"project_name": "Проект 1",
"owner_name": "user5",
"responsible_name": "admin",
"base_task_name": null,
"put_method_allowed": true,
"delete_method_allowed": true,
"status_type": true
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question