PrunedNeuron / MedArchive

Project on medical history management built using Spring Boot, Spring Data JPA with a MySQL/MariaDB database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

P_015 - DigiMedArchive

Prerequisites

  1. JDK version >= 8
  2. MySQL

Steps to run

  1. Open a MySQL console in the terminal

    mysql -u <your-username> -p <your-password>
  2. Create a database called "medarchive"

    CREATE DATABASE medarchive;
  3. Open the application.properties file located in src/main/resources and add your MySQL username and password like this:

    spring.datasource.username=<your-username-here>
    spring.datasource.password=<your-password-here>
  4. Either run the main function in src/main/java/dev/ayushm/med/Application.java in eclipse OR,

    1. Open a terminal in the root of the project

    2. Run the following commands to build a jar file and then run it

      • on Windows

        .\mvnw clean install
        java -jar target\medarchive.jar
      • on Linux and Mac

        ./mvnw clean install
        java -jar target/medarchive.jar
  5. Open localhost:8080 in your browser.

About

Project on medical history management built using Spring Boot, Spring Data JPA with a MySQL/MariaDB database.


Languages

Language:Java 85.4%Language:JavaScript 11.2%Language:CSS 3.4%