-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Manual
-
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
-
Open a new Terminal window in the sub-directory of the cloned repository named backend
-
Package the Java application by executing the following command:
mvn clean package
-
Start the back-end application by executing the following command:
mvn spring-boot:run
-
The back-end application should now be running on localhost:8090
-
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
-
Open a new Terminal window in the sub-directory of the cloned repository named frontend
-
Launch the front-end application by executing the following command:
npm start
-
The front-end application should now be running on localhost:3000
-
When visiting the above URL in the web browser, the login-page for the application should appear.
-
User may create a new account, or they can sign it with a pre-made account with the following credentials:
- Username: user
- Password: user