The Calculator App is a simple, full-stack application designed for educational purposes. It demonstrates the integration of a frontend and a backend service using modern web technologies and containerization with Docker. This app allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. The project serves as a hands-on example to learn about:
-
Frontend Development:
A user-friendly interface (built with technologies like React, if desired) that lets users interact with the calculator in a seamless way. -
Backend API:
A Node.js-powered backend that handles the calculation logic, showcasing how to structure and manage server-side code. -
Containerization with Docker:
Using Docker and Docker Compose to package, deploy, and run the application consistently across various environments.
Follow these steps to clone and set up the repository:
Make sure Docker is installed on your system. Follow the instructions for your operating system:
- Ubuntu: Docker Installation on Ubuntu
- macOS: Docker Installation on macOS
- Windows: Docker Installation on Windows
git clone https://github.com/CMU-17-356/calculator.git
cd calculatordocker-compose up --buildOpen your browser and go to http://localhost:3000
Follow these steps to clone and set up the repository:
git clone https://github.com/CMU-17-356/calculator.git
cd calculatorcd calculator-backend
npm install
node index.jscd ..
cd calculator-frontend
npm install
npm start