Repository navigation
Implement TCS NQT questions, Company Guides, and CI improvements - #60
Merged
Merged
Conversation
…s, topic skill filter & deterministic evaluator master regression suite
…d API quota error handling
…d registration retry in test_mocktest
…ion and add async user query retries in test_tracks and test_forgot_password
…guard bookmark array matching
…ature implementation
… user guards, Atlas replication retry loops
…s, ITC Infotech, EY, PwC, CloudKaptan) with dynamic filter & automated test suite
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several new backend features and models to support company and guide management, as well as draft and debug logging functionality. The main changes include the creation of Mongoose schemas and controllers for companies and company guides, as well as new models for saving user drafts and developer debug logs. The controllers provide both admin and public endpoints for managing and retrieving data.
Company and Guide Management
CompanyandCompanyGuideMongoose models with comprehensive schemas, supporting fields such as name, slug, logo, short descriptions, structured roles, eligibility, exam patterns, FAQs, resources, SEO, and status tracking for guides. Includes support for legacy keys and compound indexes for efficient queries. [1] [2]adminCompanyGuideController.jswith endpoints for admins to create, update, retrieve, publish, unpublish, archive, verify, and delete companies and guides. Includes validation, slug generation, and content sanitization.companyGuideController.jswith public endpoints to list companies, retrieve published guides, featured guides, and guide slugs, as well as fetch guides by slug. Includes highlight computation for featured guides.Draft and Debug Logging
Draftmodel for saving user draft answers to questions, supporting fields for user, question, mode (practice/mock), content, timer, version, device ID, and last saved timestamp. Includes unique index for user/question pairs.DeveloperDebugLogmodel for logging developer debug information such as user, provider, model, latency, retry count, prompt version, validation results, and error reasons. Includes automatic expiration after 24 hours.