Template Project REST
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
belajar-restful-config
belajar-restful-domain
belajar-restful-service
belajar-restful-web
jenkins-jobs-configuration/jobs
.gitignore
LICENSE
NOTICE
Procfile
README.md
pom.xml

README.md

Template Project ArtiVisi

Project Modules

Project ini terdiri dari beberapa sub-project :

  • config : berisi jdbc.properties, dataSource, transactionManager, dsb
  • domain : berisi @Entity dan service interface
  • service : berisi @Service dan @Repository
  • web : berisi @Controller, HTML, JavaScript, dsb

Automated Test

Dalam project ini, kita pakai beberapa automated test :

Build dan Run

Untuk menjalankan projectnya :

  1. Siapkan database MySQL

    • nama db : belajar_development
    • username : root
    • password : admin
  2. Jalankan mvn clean install di top level folder

  3. Masuk ke folder web, kemudian jalankan mvn jetty:run

  4. Siap dibrowse di http://localhost:10000

Konfigurasi

  • Koneksi database : edit file pom.xml di top level folder, property db.driver, db.url, db.username, db.password
  • Port Aplikasi : edit file pom.xml di top level folder, property appserver.port.http
  • Context Path : edit file pom.xml di top level folder, property appserver.deployment.context

Teknologi dan Library

Framework dan Library

  • Spring Framework 4.0.0
  • Spring Security 3.2.0
  • Spring Data JPA 1.4.2
  • Hibernate 4.2.6
  • Joda Time 2.3
  • Logback 1.0.13
  • AngularJS 1.2.10
  • AngularUI 0.4.0
  • Twitter Bootstrap 3.1.0
  • jQuery 1.8.3
  • Underscore JS 1.5.2

Tools

  • Build Tool : Maven 3
  • Database Schema : Liquibase
  • Unit Test Runner : Maven Surefire Plugin
  • Integration Test Runner : Maven Failsafe Plugin
  • Functional Test : Rest-Assured
  • Performance Monitoring : Javamelody
  • Application Server : Jetty 6