Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mock rest api added #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mahmut-gundogdu
Copy link

i had issue with setup dev env. i read issue #10 then i decided to implement mock rest api to run on local easily.

i added connect-api-mocker. it makes rest api with json and js file. when execute npm run mock-api , it hosts a rest api at 'http://localhost:8080/api/translate' and return '[[["Lorem ipsum"]]]' . this is a mock value for translateApiUrl function. so you can use this url on constant/private then the developers works on local easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant