mohebifar / mohebifar/racket

missing support for multiple apis

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
288
Forks
13
PR merge metrics
No merged PRs in 30d

Description

having the ApiClient helper use a static apiPath limits us to only one API.

the easiest solution is probably to remove the formatUrl function and instead require the use of the full address instead of just the path.

changes would have to be done in

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 with template/src/helpers/ApiClient.js and template/src/config.js to understand how apiPath and formatUrl currently build requests. Then inspect the githubHottest(reduxSaga).js and githubHottest(reduxThunk).js modules; the work is done when both can request multiple APIs using full addresses rather than a single static path.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, redux
Domain
api, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.