Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jiri-one/coex_sql_task
My solution of SQL Django task for COex
https://github.com/jiri-one/coex_sql_task
Last synced: about 1 month ago
JSON representation
My solution of SQL Django task for COex
- Host: GitHub
- URL: https://github.com/jiri-one/coex_sql_task
- Owner: jiri-one
- Created: 2022-07-17T15:52:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-22T09:17:37.000Z (over 2 years ago)
- Last Synced: 2024-10-07T19:48:38.810Z (about 1 month ago)
- Language: Python
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# COex SQL Django task
**The brief was**: Try to design a database model for an online bookstore, which would contain at least 5 models (the more options you have the better, but no need to deal with Amazon :-) ). I leave it up to you what tool you use or whether you "shoot" the model structure directly within Django. I'm really interested in the database model and the relationships between objects.
## Notes about solution:
- I use Django because it was preferred, even though the specification said I could use whatever I wanted.
- So I made exactly 5 models, but I tried to choose them in such a way that you can see many possibilities how the models are connected to each other.
- The login to the administration is via `jiri:coex`.
- I've added some books and authors to the database.
- Because I use SQLite, it is easy to run it localy.