An example of Django Backend REST project (details inside)
Budget: $10 – $30 USD
Hi,
I have very specific requirements.
I need a very clear Django REST backend example that performs the main functionalities:
1- JWT Authentication to log in.
2- Use the group-level permissions on the CRUD tasks
Here are the details:
-----
First, the example for sure will use an SQLite database, the database must involve two tables [Books, and Categories]. The Books table has three fields (ID, Name, and CategoryID) and the Category table has two fields(ID, and Name). And as you might think there is a one-to-one relationship between the two tables.
The database should be created as normal using 'makemigrations', and 'migrate' commands.
Second, the project must use the main packages below (and, any other new packages must be worthy and trusted)
1- Django
2- djangorestframework
3- django-cors-headers
Third, the business implementations must be fully separated from the API and the model classes. I mean, for the Book app for example, there must be a class for the model, a class for the API, a class for the serializer, and finally, a service class in which all the business logic should be implemented.
Forth, the permissions must be implemented on the group levels. I mean only users who belong to certain groups can perform permissions that are assigned to the group's members (as you know you might know you can assign permission to users after registering the models)
Fifth, you must use class-based APIView to complete the task or other views that fit the requirements. And the read API must support paginations
looking forward to your bids
I have very specific requirements.
I need a very clear Django REST backend example that performs the main functionalities:
1- JWT Authentication to log in.
2- Use the group-level permissions on the CRUD tasks
Here are the details:
-----
First, the example for sure will use an SQLite database, the database must involve two tables [Books, and Categories]. The Books table has three fields (ID, Name, and CategoryID) and the Category table has two fields(ID, and Name). And as you might think there is a one-to-one relationship between the two tables.
The database should be created as normal using 'makemigrations', and 'migrate' commands.
Second, the project must use the main packages below (and, any other new packages must be worthy and trusted)
1- Django
2- djangorestframework
3- django-cors-headers
Third, the business implementations must be fully separated from the API and the model classes. I mean, for the Book app for example, there must be a class for the model, a class for the API, a class for the serializer, and finally, a service class in which all the business logic should be implemented.
Forth, the permissions must be implemented on the group levels. I mean only users who belong to certain groups can perform permissions that are assigned to the group's members (as you know you might know you can assign permission to users after registering the models)
Fifth, you must use class-based APIView to complete the task or other views that fit the requirements. And the read API must support paginations
looking forward to your bids