hasura / hasura/graphql-engine
configureable api endpoint
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Is your proposal related to a problem?
Using docker image for hasura, I have the need for a REST endpoint, however our API gateway already registers `/api` and as such hasura is rest endpoints are unreachable
### Describe the solution you'd like
an environment variable that allows the `/api` part (or more) to be configurable, eg to use `/public-api` instread
### Describe alternatives you've considered
Reconfiguring our API gateway, however this would have too much of a hit on our client that use our other internal APIs
Contributor guide
Research direction
Start by locating the Docker image configuration, environment-variable handling, and REST endpoint routing used by Hasura. Confirm how the `/api` path is currently selected and define completion as allowing it to be changed to a path such as `/public-api` without breaking existing REST endpoints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100