mglush / calculator-webapp

Simple Calculator Web App using React for frontend and C++ for backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Calculator Web App Server.

By Michael Glushchenko, using this tutorial.

Table of Contents

Purpose

The first step in an attempt to build a more complex full-stack web app later on.

How To Run

At this moment, the project can only be run on OSX.

  1. Clone the git repository, and cd into it.
git clone git@github.com:mglush/calculator_web_app.git
cd calculator_web_app
  1. 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
  1. 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

Technologies

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).

About

Simple Calculator Web App using React for frontend and C++ for backend.


Languages

Language:C++ 95.7%Language:C 1.4%Language:CMake 1.2%Language:Makefile 1.1%Language:JavaScript 0.4%Language:HTML 0.1%Language:CSS 0.1%Language:Dockerfile 0.1%Language:TypeScript 0.0%