Skip to content

SindreJB/full-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDATT2105 Full-stack application development

This was every assignment for this course. Had fun! won't do it again thoooo..

Getting Started

Start with Docker

  1. Build and start all services:

    docker compose up --build

    This will start the backend, frontend, and JSON server.

  2. Access the applications:

  3. To stop all services:

    docker compose down

Start without Docker (Locally)

Backend

  1. Open a terminal in calculator-backend/calculator-backend.

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

Frontend

  1. Open a terminal in vue-calculator.

  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run serve

JSON Server (Feedback API)

  1. Open a terminal in vue-calculator.

  2. Start the JSON server:

    npx json-server db.json --port 3001

About

Øvinger i faget Full-Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors