Giter Site home page Giter Site logo

heart-app's Introduction

Heart-app

Installation of project:

  1. Download the zip-file with the project
  2. Install Java, OpenJDK (we used version 11.0.15)
  3. Install Apache Maven (we used version 3.6.0)
  4. Install PostgreSQL (we used version 10.21)
  5. Install Node JS (we used version 7.7.6)
  6. Navigate to Heart-app/src/main/resources and open the file application.properties and set the chosen settings for the postgreSQL database
  7. Navigate to Heart-app/vue-material-dashboard-masterbase/http-common.js and change the base URL to the URl of the backend + "/api"
  8. In the root of the Heart-app folder, install dependencies by doing: mvn package
  9. Navigate to Heart-app/vue-material-dashboard-master folder and do: npm install
  10. Inside your database (preferrably in SQL Shell) run the following command to create a table for ECG:
  • CREATE TABLE ecg(id SERIAL, patient_id varchar(20) NOT NULL, ecg_data int4[], timestamp timestamp default current_timestamp);

Run the project:

  1. Open two terminals.
  2. In first terminal: In the Heart-app folder, run back end by doing: mvn spring-boot:run
  3. In second terminal: In the Heart-app/vue-material-dashboard-master folder, run front end by doing: npm run serve
  4. The project will now be running on http://localhost:8081/

Run tests:

  • Integration tests: In the Heart-app folder, do: mvn test
  • API Unit tests and front end tests: run back and front end. In the Heart-app/vue-material-dashboard-master folder, do: npx cypress run

heart-app's People

Contributors

mathildetannebaek avatar najajean avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.