Skip to content

Latest commit

 

History

History
82 lines (62 loc) · 934 Bytes

readme.md

File metadata and controls

82 lines (62 loc) · 934 Bytes

Hashnode Hackathon

Tech Stack

  • next.js
  • node.js
  • express.js
  • passport.js
  • harper.db

Database Schema

Bytes

  • quotes
    • add new quote
      • book name (optional)
      • author name
      • quote [optional] upload image -> text from image
    • db schema
      • user_id
      • book_name
      • author_name
      • quote
      • image_url
      • love_count
      • created_at
{
  "user_id": "1",
  "book_name": "deep work"
}

Threads

Schema

  • topic_name
  • user_id
  • date
  • view_count
  • comment_count
  • upvote_count
  • downvote_count
|  u  | Topic name
|  +2 |
|  d  | by username @ date & time . 11 comments . 200 views

Books

Schema

  • book_id
  • book_title
  • book_author
  • book_genre
  • book_short_description
  • book_thread_count
  • book_img_url

Books-Threads

  • book_id
  • thread_id

Books-Genres

  • book_id
  • genre_id

Genres

  • genre_id
  • genre_name
  • genre_book_count