- currency web application
- node.js and npm are required to be installed on the PC for frontend:
- Run “node --v" to check and to install run “brew install node”.
- Run "npm --v" to check and to install run “npm install” (to install all the node modules dependencies)
- For the backend, require dotNET (ASP.NET):
- run “dotnet --version” to check
- Navigate to the frontend window, and run "npm start”.
- Navigate to the backend app, Visual Studio IDE:
- run with normal dotnet command:
- Right-click on the "backend" project, and click "Set as Startup Project".
- Compile code which will run "dotnet run".
- run with docker:
- Right-click on the "docker-compose" project, and click "Set as Startup Project".
- Compile code, this will do 2 things:
- build docker file, which runs the command "docker build -t kcurr-backend .”
- execute code, which runs “docker run -p 5268:80 kcurr-backend” (5268:80 is what we specify in docker-compose.override.yml)
- run with normal dotnet command: