Skip to content

GRPC and Dev environment Configuration#24

Merged
WilliamHarvey97 merged 30 commits intomasterfrom
mock-python-back-end
Oct 1, 2020
Merged

GRPC and Dev environment Configuration#24
WilliamHarvey97 merged 30 commits intomasterfrom
mock-python-back-end

Conversation

@WilliamHarvey97
Copy link
Copy Markdown
Contributor

@WilliamHarvey97 WilliamHarvey97 commented Sep 22, 2020

  • Put GRPC and protobuf code gen in place and test it with an example.
    TODO:
  • Run backend on mobile/Access backend from mobile (not emulator)
  • Define .proto according to our needs
  • Backend must implement stub with mock data

@WilliamHarvey97 WilliamHarvey97 changed the title [WIP] Mock python back end WIP Mock python back end Sep 22, 2020
@WilliamHarvey97 WilliamHarvey97 changed the title WIP Mock python back end [WIP] Mock python back end Sep 22, 2020
Comment thread protos/install_grpc_plugins.sh Outdated
Copy link
Copy Markdown
Contributor

@abelfodil abelfodil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On veut pas que git track les protos générés

Comment thread .vscode/settings.json Outdated
Comment thread .vscode/settings.json Outdated
Comment thread .vscode/settings.json Outdated
Comment thread .vscode/settings.json Outdated
Comment thread .vscode/settings.json Outdated
@WilliamHarvey97
Copy link
Copy Markdown
Contributor Author

Créer mock API back-end

Comment thread .vscode/settings.json Outdated
Comment thread web/package.json
Comment thread .vscode/settings.json Outdated
Comment thread backend/requirements.txt
@WilliamHarvey97
Copy link
Copy Markdown
Contributor Author

Maybe interesting https://python-for-android.readthedocs.io/en/latest/quickstart/, in order to run python backend service on android.

Comment thread mobile/lib/main.dart Outdated
Copy link
Copy Markdown
Contributor

@abelfodil abelfodil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finalement, il faut spécifier le path des protos, sinon le plugin ira chercher dans tous les folders incluant les node_modules et :

  • ça génère des protos dont on n'a pas besoin (genre des centaines)
  • ça fait crash mon vscode.

Comment thread .vscode/settings.json Outdated
Comment thread README.md Outdated
Comment thread .vscode/settings.json Outdated
Co-authored-by: Anes Belfodil <abelfodil@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@abelfodil abelfodil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On va y arriver :D

Comment thread backend/Dockerfile Outdated
@abelfodil abelfodil force-pushed the mock-python-back-end branch from 01e15dc to 909cc16 Compare October 1, 2020 18:10
@abelfodil abelfodil force-pushed the mock-python-back-end branch from 408a5b5 to 4e117f8 Compare October 1, 2020 19:12
@abelfodil abelfodil force-pushed the mock-python-back-end branch from 4e117f8 to 055ca94 Compare October 1, 2020 19:15
@abelfodil abelfodil force-pushed the mock-python-back-end branch from d581560 to 4ff6391 Compare October 1, 2020 20:54
@WilliamHarvey97 WilliamHarvey97 changed the title [WIP] Mock python back end GRPC and Dev environment Configuration Oct 1, 2020
@WilliamHarvey97 WilliamHarvey97 merged commit 7f54391 into master Oct 1, 2020
@WilliamHarvey97 WilliamHarvey97 deleted the mock-python-back-end branch October 1, 2020 21:39
@WilliamHarvey97
Copy link
Copy Markdown
Contributor Author

1 similar comment
@WilliamHarvey97
Copy link
Copy Markdown
Contributor Author

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.

3 participants