OpenClassrooms-Student-Center / OpenClassrooms-Student-Center/P6JS

Container start command and Weekly Goal data access

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I agree with the previous comment regarding the issue.

Additionally, I would like to note that the command to start the container should be: docker container run --name micro-api -p 8000:8000 -dt micro-api yarn dev.

yarn dev at then end is important. Otherwise it only install dependances but doesnt start.

Furthermore, there is no available route to access the weeklyGoal data, which raises the question of how we can generate the pie charts without being able to access the data directly.

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

Reproduce the container startup using the stated docker container run command and verify whether yarn dev is required for the service to start. Then locate the API route handling weeklyGoal data and determine how it should expose the data needed for the pie charts; done means the container starts and that data is directly accessible.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript
Domain
api, backend, devops
Issue type
Bug
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.