Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Developers should have a way of mocking the API #3

Open
filipecorrea opened this issue Aug 13, 2020 · 2 comments
Open

Developers should have a way of mocking the API #3

filipecorrea opened this issue Aug 13, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@filipecorrea
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I'm always frustrated when the API is mandatory to run the project for local development.

Describe the solution you'd like
Developers should have a way of mocking the API if they're only developing the UI.

@filipecorrea filipecorrea added the enhancement New feature or request label Aug 13, 2020
@filipecorrea filipecorrea added this to the Next milestone Aug 13, 2020
@fabio-franco fabio-franco self-assigned this Aug 20, 2020
@filipecorrea
Copy link
Contributor Author

@fabio-franco I made a mistake opening this issue. It's already implemented:

if (process.env.REACT_APP_API_MOCK && process.env.REACT_APP_API_MOCK.toUpperCase() === 'TRUE') {

@filipecorrea
Copy link
Contributor Author

It seems the API mock has problems. Let's reopen this issue.

@filipecorrea filipecorrea reopened this Aug 31, 2020
@fabio-franco fabio-franco added the help wanted Extra attention is needed label Sep 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants