Group project for IDATT1002 Software Engineering spring 2023 at NTNU Ålesund.
Table of Contents
Our project consists of developing a web application where users can manage their finances.
This project was created using the following:
- Spring boot Java framework for back-end development
- React JavaScript framework for front-end development
- Loopia service provider for web- and database-hosting
- Postman software for testing API implementations
- Git for version control of source code
- OpenStack cloud software for server deployment (provided by NTNU for the course IDATA2306)
- Apache Maven software management tool for back-end management and comprehension
-
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
The application is deployed and can also be visited online. For further information regarding the deployment, please consult DEPLOYMENT.md.
- Link to website: Budget Application Demo
- Pre-made user:
- Username: user
- Password: user
- Feel free to create new accounts as well (username must be unique)
Note: There is no guarantee that the website works to the same degree as when the project is running on localhost. There has been some problems regarding CORS security and HTTP to HTTPS request forwarding, which may prevent login attempts. These are problems related to the settings of the given browser, the extensions installed, and other configurations. We would recommend to visit the demo application using a browser without extensions, and on either NTNU's network or using NTNU's VPN.
User |
---|
|
|
|
Distributed under NTNU. For educational purposes only
Jørgen Finsveen - jorgfi@stud.ntnu.no
Even Johan Pereira Haslerud - ejhasler@stud.ntnu.no
Håvard Hetland Vestbø - haavarhv@stud.ntnu.no
Petter Edvardsen - petteed@stud.ntnu.no
Ole Kristan Dvergsdal - olekd@stud.ntnu.no