Skip to content

The repo for the team SWT: Morning 3

Notifications You must be signed in to change notification settings

alt-13/SWT-Morning-3

 
 

Repository files navigation

SWT: Morning 3 - Note

Development

Before you can build this project, you must install and configure the following dependencies on your machine:

Node.js: We use Node to run a development web server and build the project. Depending on your system, you can install Node either from source or as a pre-packaged bundle.

After installing Node, you should be able to run the following command in the fronted folder to install development tools. You will only need to run this command when dependencies change in package.json.

npm install

To start the backend either use the import event in IntelliJ or use the following command in the backend folder:

mvn package

To start the frontend execute the following command in the frontend folder:

npm run serve

Npm is also used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by specifying a newer version in package.json. You can also run npm update and npm install to manage dependencies. Add the help flag on any command to see how you can use it. For example, npm help update.

The npm run command will list all of the scripts available to run for this project.

Database and Mockobjects

If there is no database connection for whatever reason use json mock objects:

npm install json-server
npx json-server data-mock.json --port=8082

Testing

Integration Tests

For the integration tests please run:

npm run test:e2e

Unit Tests

For the unit tests run:

mvn test

About

The repo for the team SWT: Morning 3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 32.0%
  • Vue 30.8%
  • JavaScript 19.5%
  • TypeScript 8.7%
  • CSS 8.0%
  • HTML 1.0%