Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.34 KB

File metadata and controls

36 lines (27 loc) · 1.34 KB

JAVA CMS

https://harshajayamanna.com/2018/11/08/spring-boot-mvc-file-upload-with-exception-handling/

Requirments

  • Java 10
  • Maven > 3.5.3
  • Mysql

Sample UIs of the application

UI UI

Steps

  • Import project as a maven project to eclipse
  • Import the mysql dump in the git repo to mysql database
  • Edit the \src\main\resources\application.properties file to match your mysql properties. (Edit below fields accordingly)
    • spring.datasource.url=jdbc:mysql://localhost:3306/cms_crud
    • spring.datasource.username=root
    • spring.datasource.password=admin1234
    • spring.datasource.driver-class-name=com.mysql.jdbc.Driver
    • spring.jpa.database-platform = org.hibernate.dialect.MySQL5Dialect
    • spring.jpa.show-sql = true
  • Run maven install
  • Then you can run the application as a java application (Run as -> Java application) or
  • Go to the target folder and execute the jar file (java -jar crudApp-0.0.1-SNAPSHOT.jar)

How to test: