Skip to content

This is tutorial material for building web apps with Spring Boot, Spring Data Rest, AnguluarJS and TypeScript.

License

Notifications You must be signed in to change notification settings

sth77/webapp-tutorial

 
 

Repository files navigation

WebApp Tutorial

This is tutorial material for building web apps with Spring Boot, Spring Data Rest, AnguluarJS and TypeScript.

Used Technologies

  • Java 7 or 8

  • HAL (Hypertext Application Language)

  • Spring Boot (+ Data, REST, HATEOAS)

  • TypeScript for web client

  • AngularJS for web client

  • JUnit for Java unit and integration testing

  • Mockito for Mocking

  • Gradle as build system

  • NPM, Grunt, Bower, TSG for the web client build

Requirements

  • Java 7 or 8 (JDK) installed

  • Node.js installed

    • Grunt CLI installed (npm install -g grunt-cli)

    • Bower installed (npm install -g bower)

    • TSD installed (npm install -g tsd)

In the vagrant directory you find a Vagrantfile to create a (German) development environment.

  • Install Vagrant and VirtualBox

  • Invoke "vagrant up" in a terminal

  • Wait for 20 minutes letting Vagrant create the whole virtual machine

  • In the VM, log in as vagrant/vagrant and then invoke: startx

  • The latest Ubuntu with a simple desktop will start up

  • You find this project at /home/vagrant/webapp-tutorial

  • All Gradle and JavaScript dependencies are already in the VM

  • You find an IntelliJ IDEA trial under /opt

  • Before starting IntelliJ you have to configure the Java 8 JDK

  • After starting IntelliJ you have to install the Lombok plugin manually.

Getting Started

When you want to run the tutorial locally, prepare all the labs:

  • ./gradlew prepareJs (invokes npm install, bower install, tsd reinstall on all JavaScript projects)

  • ./gradlew clean build (builds all the tutorial labs (Java parts), runs all the Java tests)

About

This is tutorial material for building web apps with Spring Boot, Spring Data Rest, AnguluarJS and TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 88.3%
  • Java 4.4%
  • TypeScript 3.6%
  • HTML 1.9%
  • JavaScript 1.2%
  • Groovy 0.4%
  • Ruby 0.2%