Skip to content

Latest commit

Β 

History

History
58 lines (46 loc) Β· 1.96 KB

File metadata and controls

58 lines (46 loc) Β· 1.96 KB

Name: Yuvaraj
Roll No: IEC2024051

Deployment

https://codedine.vercel.app

Reference

ref 1 ref 2

Features

Seeded Data


πŸ›  Backend Features

  • MongoDB Atlas Integration: Server initializes only after successful DB connection.
  • Schemas:
    • User β†’ name, email, password (with fields prepared for progress, bookmarks – frontend integration pending)
    • Question β†’ title, url
    • Category β†’ title, questions (array of Question references)
  • Authentication:
    • Register & Login with JWT-based authentication
    • Passwords securely hashed using bcrypt
  • Protected Routes: JWT middleware for user-only operations
  • API Endpoints:
    • Content (/content)
      • Fetch categories & related questions
      • Search questions by title – ?search=array
      • Pagination – ?page=2&limit=5
    • Auth (/auth)
      • Login – /login
      • Register – /register
      • Logout – /logout

🎨 Frontend Features

  • Data Fetching: All content dynamically fetched from backend API
  • Responsive Design: Works across desktop, tablet and mobile devices
  • User Authentication:
    • Login & Register pages with global state
    • Protected routes prepared for authenticated users
  • UI/UX Enhancements:
    • Accordion-style categories & questions display
    • Dark/Light mode toggle (saved in localStorage)

🚧 Under Development

  • User Dashboard – Progress bar & bookmarks UI
  • Progress Tracking & Bookmarks – API is ready but frontend not yet integrated