Skip to content

Feat: related subject tags #247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 14, 2025

Conversation

abhitrueprogrammer
Copy link
Collaborator

@abhitrueprogrammer abhitrueprogrammer commented Aug 12, 2025

Purpose

Juniors have some papers that have similar syllabus to previous papers. This PR introduces related subjects tags so that the user can find these subjects.

Corresponding issue: #248

Showcase:

IMG-20250813-WA0007.jpg

IMG-20250813-WA0008.jpg

Changes:

  1. new db schema for new relatedsubjects collection
  2. a interface that this schema uses
  3. a backend route and html to show them.

Used a axios call in a useEffect to hit the backend route. The backend route is a get route that takes in subject name from params and fetches the info from db. It returns json with related subjects array on success. The schema is:

subject: string, related_subject: string[]

@abhitrueprogrammer abhitrueprogrammer changed the title Feat: related papers Feat: related subject tags Aug 12, 2025
@abhitrueprogrammer
Copy link
Collaborator Author

lgtm

@abhitrueprogrammer abhitrueprogrammer merged commit c062727 into CodeChefVIT:prod Aug 14, 2025
@abhitrueprogrammer abhitrueprogrammer deleted the related branch August 14, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant