This was every assignment for this course. Had fun! won't do it again thoooo..
-
Build and start all services:
docker compose up --build
This will start the backend, frontend, and JSON server.
-
Access the applications:
- Frontend: http://localhost:8080
- Backend API: http://localhost:8081
- H2 Database Console: http://localhost:8081/h2-console
- JDBC URL:
jdbc:h2:file:/data/calculatordb;AUTO_SERVER=TRUE - User Name:
sa - Password: (leave empty)
- JDBC URL:
- Feedback API (JSON server): http://localhost:3001/feedback
-
To stop all services:
docker compose down
-
Open a terminal in
calculator-backend/calculator-backend. -
Build and run with Maven Wrapper:
-
On Windows (PowerShell or CMD):
.\mvnw.cmd spring-boot:run -
From repository root on Windows (without changing directory):
.\calculator-backend\calculator-backend\mvnw.cmd -f .\calculator-backend\calculator-backend\pom.xml spring-boot:run
-
On Unix/macOS (bash/zsh):
./mvnw spring-boot:run
-
The backend will be available at http://localhost:8081
-
H2 Console: http://localhost:8081/h2-console
-
-
Open a terminal in
vue-calculator. -
Install dependencies:
npm install
-
Start the development server:
npm run serve
- The frontend will be available at http://localhost:8080
-
Open a terminal in
vue-calculator. -
Start the JSON server:
npx json-server db.json --port 3001
- The feedback API will be available at http://localhost:3001/feedback