Skip to content

Conversation

@Rajiv-0920
Copy link

Hello,

This pull request refactors the routes directory to improve the project's structure and scalability.

The Problem: The previous structure had a separate file for each endpoint (e.g., add-note.js, login.js). This was becoming difficult to manage and would get cluttered as the application grows.

The Solution: I have grouped all related endpoints into resource-based files:

  • auth.route.js: Handles user creation, login, and updates.
  • notes.route.js: Handles all CRUD (Create, Read, Update, Delete) operations for notes.

This change makes the codebase much more organized and easier to maintain.

Please let me know if you have any feedback.

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