https://github.com/diable201/djangofinal
Django Final Project
https://github.com/diable201/djangofinal
django djangorestframework jwt
Last synced: 2 months ago
JSON representation
Django Final Project
- Host: GitHub
- URL: https://github.com/diable201/djangofinal
- Owner: diable201
- Created: 2022-05-24T05:23:33.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-28T16:06:34.000Z (about 4 years ago)
- Last Synced: 2025-01-17T19:55:22.858Z (over 1 year ago)
- Topics: django, djangorestframework, jwt
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DjangoFinal
Your task is to create a part of the Online Book Store.
1. Authorization
* a. Implement extending from Base Class
* b. JWT
* c. UserProfile
* d. roles: [SuperAdmin, Guest]
2. You have the following classes:
a. **BookJournalBase** - abstract class
1. name
2. price
3. description
4. created_at
b. **Book** extends from **BookJournalBase**
1. num_pages
2. genre
c. **Journal** extends from **BookJournalBase**
1. type [Bullet, Food, Travel, Sport]
2. publisher
3. Implement endpoints using ViewSets:
1. Auth Register
/auth/login
2. Core
3. books/ - CRUD, only Admins can modify objects
4. journals/ - CRUD, only Admins can modify objects