Implementation Exemple of the PAC Architecture througth a E-Commerce Application Project.
- Install docker
- run ./build.bat or ./build.sh depending on your OS
- run ./run.bat or ./run.sh
- go to your webBrowser and hit http://localhost:8080/0
you can hit different user with diffent number (ex : http://localhost:8080/1, http://localhost:8080/2 ...)
You can see what the server do in the file /project/build/info.txt when the app is launch.
- in a terminal run :
docker exec -it container-pac-demo-cpp bash
cd /project/script - then select wich script do you want to launch :
python3 order.py (will add order)
or python3 product.py (will add product) - hit http://localhost:8080/2 to see the result