By Michael Glushchenko, using this tutorial.
The first step in an attempt to build a more complex full-stack web app later on.
At this moment, the project can only be run on OSX.
- Clone the git repository, and cd into it.
git clone git@github.com:mglush/calculator_web_app.git
cd calculator_web_app
- Compile and run the backend API.
cmake -Hcalculator_backend -Bcalculator_backend/build
cmake --build calculator_backend/build --target all --config Release
calculator_backend/build/CalculatorAPI
- Open a NEW terminal window, and start the frontend.
cd calculator_frontend
npm start
If a window does not open automatically within your browser, you can access the calculator web app at http://localhost:3000 or http://127.0.0.1:3000
Languages:
- Backend: C++.
- Frontend: Javascript, CSS.
Frameworks:
- Frontend: React, Node.js.
- Backend Web API: Restbed.
- Build: Cmake, Docker.
- Deployment: Heroku (does not work on the cloud at the moment).