ALPHAVIO/WordNook

Move newsletter routes form user.router.js to newsletter.router.js

Closed this issue · 2 comments

Feature request-

To move newsletter routes to newsletter.router.js (new-file)

Is your feature request related to a problem? Please describe. (optional)

A clear and concise description of what the problem is.

Describe the solution you'd like

Create new file newsletter.router.js
Add the appropriate function call in app.js for the moved routes.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Describe how this feature will be useful to our readers.

This will add scalability to our project and also make the code more readily and modular.

Additional context

I am GSSOC'21 participant.


Note:

  • Do mention if your are working under GSSoC'21.
  • If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
  • If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
  • Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
  • According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.
level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign

This issue has been assigned to @theBeginner86!
It will become unassigned if it isn't closed within 21 days. A maintainer can also add the pinned label to prevent it from being unassigned.