userid: Automatically generated.name: Unique string field.email: Unique valid email address (not necessairly working, but with a valid format).password: Hashed then stored.bookgoogle_id: to retrive book's data from google, and acting as an id since its unique.categoryid.name: Unique string field.commentid.content.timestamp.is_deleted: to indicate the comment has been deleted..is_edited: to indicate the comment has been edited by the user.user_book: many-to-manyid.user.id.book.google_id.status: 0,1,2 indicating to-read, reading and read.notes: user notes on this book.user_category: many-to-manyid.user.id.category.id.book_category: many-to-manyid.book.google_id.category.id.book_user_comment: many-to-manyid.comment.id.book.google_id but the book in question should have is_public with a value of 1.user.id.book_user_comment.id, for creating nested comments, if it's null, then will be a top-tree comment.book_user_rating: many-to-manyid.rating: a string from 1-5.book.google_id but the book in question should have is_public with a value of 1.user.id./: /user: pip install -r requirements.txtpython manage.py db initpython manage.py db migratepython manage.py db upgradepython manage.py runPosted Aug 30, 2024
Contribute to khalid-faiz/final-bootcamp-project development by creating an account on GitHub.