Skip to content

Conversation

@boshraemad
Copy link

No description provided.

NaderMohamed325 and others added 30 commits August 13, 2025 22:52
…culty, solved to Topic; create unique index on DailyQuiz
…ctions for courses and topics and tracks with server-side validation and aplly authntication middleware
Adds full CRUD functionality for user notes, including advanced filtering, sorting, and pagination.
Adds full CRUD functionality for user notes, including advanced
filtering, sorting, and pagination.

Description:

This pull request introduces the full backend implementation for the
user notes feature, allowing learners to create, manage, and review
personal notes associated with topics.

Key Changes:

Database: Added a Note model to the Prisma schema with relationships to
User, Topic, and Course for efficient filtering.
API Endpoints: Implemented a new set of RESTful endpoints under
/api/notes and /api/topics/:topicId/notes for complete CRUD
functionality.
Business Logic: Created a dedicated note.service.ts to encapsulate all
business logic, ensuring a clean separation of concerns.
Validation: Integrated Zod schemas for rigorous validation of all
incoming requests, including query parameters for advanced filtering,
sorting, search, and pagination.
Security: All new endpoints are protected and require user
authentication. Authorization checks are in place to ensure users can
only access and modify their own notes.
Apply authentication middleware and server-side validation, and
implement a course, topic, and track endpoints with course-completion
feature
saifsweelam and others added 6 commits August 19, 2025 23:04
Remove unused functions, update dependencies, and implement new features
for quiz management, including tracking user submissions and enhancing
the DailyQuiz and Topic models. Improve error handling and middleware
configuration for better application stability.
- Restructured routes and controllers
- Added comprehensive Postman collection with all API endpoints
- Removed deprecated controller files
- Added new service files for better organization
- Updated schemas and middleware
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.

5 participants