DrkSephy / DrkSephy/git-technetium

Refactor server-side code

Open
#94 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Before moving forward, the server-side code (`node.js` + `express.js`) should be refactored. Current proposals are to:
- Refactor each route into their own file. This will help with being able to test the code in smaller pieces.
- Export the `getData` function. While one instance will not apply to all routes, a majority of it can be refactored out.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the server-side route definitions and the getData function mentioned in the issue, then read how routes currently share that logic. Done means routes are separated into individual files and getData is exported or refactored for reuse, with the smaller pieces testable as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, node.js
Domain
api, backend
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.