romilson8 / desafio-fullstack-2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desafio Fullstack com Angular e Spring Boot

Após pull dos arquivos recomendamos utilizar o VSCode para execultar o frontend e o Spring Tools para carregar o backend.

Necessário

  • Maven 3+
  • NodeJS 8+
  • Java 1.8 JDK
  • Springboot 2.1.0 cli (incluir no PATH)

Executando a aplicação - DEBUG

Front-end

$ cd desafio-front
$ npm install 
$ npm start

Executando a aplicação - DEBUG

Front-end

$ cd desafio-front
$ npm install 
$ npm start

Back-end

$ cd desafio-back
$ mvnw clean install
$ mvnw spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"

Executando a aplicação - PRODUCTION

Front-end

$ cd desafio-front
$ npm install 
$ npm build

Back-end

$ cd desafio-back
$ mvnw clean install
$ mvnw spring-boot:run

Executando testes

Front-end

Unitários via Karma

$ ng test

Back-end

Integração e unitários via Junit

$ mvnw test

About


Languages

Language:Java 47.3%Language:TypeScript 39.2%Language:HTML 9.0%Language:JavaScript 4.0%Language:CSS 0.5%