jChicote / jChicote/Asteroid_Visualizer

Repository and domain for planets

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Description
After seeing the response times of the planets, it will take some time for the API to response with the data and for it to be processed in time for the planets being rendered. Additionally if modifications were needed for the planets, the current implementation would have no way of interacting with the planets as their data would have to be actively saved.

## Acceptance Criteria

- The repository exists and can be accessed
- Domain objects can be passed in and are accessed
- Only the usecase can interact with the repository
- The rendered objects are the view and should not be touching the domain

## Implementation

- Create a Repository for planets
- Store the data in an array
- Implement the repository in the use case
- Pass the domain into the repository
- Do that you can extract the data from the repository using the planetCode (from the view model)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.