MassiGy / MassiGy/Coding-For-Beginners

Make the controllers performance better.

Open
#8 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
EJS
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hey there,

Currently the controllers performance can be improved. To do so, we will:

- Remove all the unecessary awaits.
- Remove all the unecessary mongo queries.
- Use Promise.all and other Promise based methods to use parallel promise execution.

Kind regards.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the controllers and reviewing their current awaits and MongoDB queries. Compare the existing operations to identify unnecessary work and opportunities for parallel Promise execution. Done means the controllers avoid unnecessary awaits and queries while preserving their current behavior; no tests or specific files are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, mongodb, nodejs
Domain
backend, databases, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.