lab/python/flask/flask_lab: server to serve coding expertise which are stored in .eg files in a repository such as lab/python/utilities/meta_ng/expertise/
The server needs to run in the background to respond to an angular app to request examples, to run:
python ng_examples
which is in lab/python/flask/flask_lab
/Users/wtsang/Lab/angular/coding-examples: the angular client (adapted from kurata's products app). To run:
npm start
This app may be duplicated for different type of expertise eg. React
For react expertise, a new folder is created for eg files:
lab/python/utilities/meta_react/expertise/
CORRECTION:
expertise is in: /Users/wtsang/Lab/python/flask/flask_lab/expertise
Currently, the flask server is duplicated to serve react expertise. It is possible to avoid duplication of server by modifying the ng client and server. For quick and dirty change, the server is duplicated. To run:
python react_example
The only change is the repository path.
The ng client needs not change for now.
Only one server may run [I don't think I need managing ng and react at the same time].
lab/python/flask/flask_lab: server to serve coding expertise which are stored in .eg files in a repository such as lab/python/utilities/meta_ng/expertise/ The server needs to run in the background to respond to an angular app to request examples, to run: python ng_examples which is in lab/python/flask/flask_lab
/Users/wtsang/Lab/angular/coding-examples: the angular client (adapted from kurata's products app). To run: npm start
This app may be duplicated for different type of expertise eg. React
For react expertise, a new folder is created for eg files: lab/python/utilities/meta_react/expertise/ CORRECTION: expertise is in: /Users/wtsang/Lab/python/flask/flask_lab/expertise
Currently, the flask server is duplicated to serve react expertise. It is possible to avoid duplication of server by modifying the ng client and server. For quick and dirty change, the server is duplicated. To run: python react_example
The only change is the repository path. The ng client needs not change for now. Only one server may run [I don't think I need managing ng and react at the same time].