hagopj13 / hagopj13/node-express-boilerplate

Proposal: let's use `rfr`

Open
#104 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

[rfr](https://github.com/warmsea/node-rfr) allows to make all requires from the root of the project, reducing the cognitive load by avoiding to have in mind where is a file to realize where a required module lives.

From it's README page:
> allows you to require modules in your project with `rfr('lib/module1.js')` instead of something like require `('../../lib/module1.js')`

I offer myself to make such a change should be the idea accepted.

Contributor guide

Open the contributing guide

Research direction

Read the linked rfr README first to understand its root-based require behavior. Then review the repository's current require usage and determine the scope of applying the proposal consistently; the work is done when the adoption decision and resulting require changes are complete and the existing test suite still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, nodejs
Domain
developer-experience, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.