Skip to content

Installation Manual

Jørgen Finsveen edited this page May 2, 2023 · 1 revision

Getting Started

Prerequisites

Installation

  1. First step is to clone the repository, which can be done by executing the following command in the Terminal:

    git clone https://gitlab.stud.idi.ntnu.no/jorgenfinsveen/Budgeting-app.git

Back-end

  1. Open a new Terminal window in the sub-directory of the cloned repository named backend

  2. Package the Java application by executing the following command:

    mvn clean package
  3. Start the back-end application by executing the following command:

    mvn spring-boot:run
  4. The back-end application should now be running on localhost:8090

  5. When visiting the above URL in the web browser, the message "Error: Full authentication is required to access this resource" should appear

(0.) It is also possible to launch the back-end application by running the file named BudgetApplication.jar located inside the backend directory by running the following command in the Terminal:

java -jar BudgetApplication.jar

Front-end

  1. Open a new Terminal window in the sub-directory of the cloned repository named frontend

  2. Launch the front-end application by executing the following command:

    npm start
  3. The front-end application should now be running on localhost:3000

  4. When visiting the above URL in the web browser, the login-page for the application should appear.

  5. User may create a new account, or they can sign it with a pre-made account with the following credentials:

  • Username: user
  • Password: user

Back to top

Clone this wiki locally