jChicote / jChicote/Asteroid_Visualizer

Implement Uri Provider for the Api-Gateways

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

Description

## Description
The current implementation has the URI for the gateways tied to the local server of the application. We need to abstract the implementation and create a provider that will give the gateways the valid connection string.

## Acceptance Criteria

- Can work with local and non-local servers
- Will find and provide the correct host URL
- Proper error handling and presentation is included

## Implementation
- Firstly investigate whether we can get the host url and whether it is a valid approach
- Create a ServerUrlProvider
- Create a Horizons gateway Uri provider. Refactoring the current uri construction away from the gateway
- Register the service

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.