Commit 1ee39f66 authored by Jorge Vega's avatar Jorge Vega

todo

parent 172fc5b6
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AngularJsRestApiDemo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.boot.validation.springbootbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="src/main/webapp"/>
<classpathentry kind="src" path="target/m2e-wtp/web-resources"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.5
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="AngularJsRestApiDemo">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/java"/>
<property name="context-root" value="AngularJsRestApiDemo"/>
<property name="java-output-path" value="/AngularJsRestApiDemo/target/classes"/>
</wb-module>
</project-modules>
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.5"/>
<installed facet="jst.web" version="2.3"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
disabled=06target
eclipse.preferences.version=1
boot.validation.initialized=true
eclipse.preferences.version=1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>espe.edu.ec</groupId>
<artifactId>AngularJsRestApiDemo</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>AngularJsRestApiDemo Maven Webapp</name>
<url>http://maven.apache.org</url>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>AngularJsRestApiDemo</finalName>
</build>
</project>
package espe.edu.ec.angularjsrestapidemo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CrudApp {
public static void main(String[] args) {
SpringApplication.run(CrudApp.class, args);
}
}
package espe.edu.ec.angularjsrestapidemo.controller;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import espe.edu.ec.angularjsrestapidemo.model.Employee;
import espe.edu.ec.angularjsrestapidemo.service.EmployeeService;
@RestController
@RequestMapping("/api")
public class EmployeeResource {
private EmployeeService employeeService;
public EmployeeResource(EmployeeService employeeService) {
this.employeeService=employeeService;
}
@RequestMapping(value="employee",method=RequestMethod.GET,produces=MediaType.APPLICATION_JSON_VALUE)
public List<Employee> getAllEmployees(){
return employeeService.findAll();
}
@RequestMapping(value="employee",method=RequestMethod.POST,produces=MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Employee> createEmployee(@RequestBody Employee employee) throws URISyntaxException {
try {
Employee result=employeeService.save(employee);
return ResponseEntity.created(new URI("/api/employee/"+result.getId())).body(result);
} catch (Exception e) {
return new ResponseEntity<Employee>(HttpStatus.CONFLICT);
}
}
@RequestMapping(value="employee",method=RequestMethod.PUT,produces=MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Employee> updateEmployee(@RequestBody Employee employee) throws URISyntaxException {
if (employee.getId()==null) {
return new ResponseEntity<Employee>(HttpStatus.NOT_FOUND);
}
try {
Employee result=employeeService.update(employee);
return ResponseEntity.created(new URI("/api/employee/"+result.getId())).body(result);
} catch (Exception e) {
return new ResponseEntity<Employee>(HttpStatus.NOT_FOUND);
}
}
@RequestMapping(value="/employee/{id}",method=RequestMethod.DELETE,produces=MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Void> deleteEmployee(@PathVariable Integer id){
employeeService.delete(id);
return ResponseEntity.ok().build();
}
}
package espe.edu.ec.angularjsrestapidemo.model;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
@Entity
@Table(name="Employee")
@EntityListeners(AuditingEntityListener.class)
public class Employee {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Integer id;
private String name;
private String department;
private Integer salary;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public Integer getSalary() {
return salary;
}
public void setSalary(Integer salary) {
this.salary = salary;
}
}
package espe.edu.ec.angularjsrestapidemo.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import espe.edu.ec.angularjsrestapidemo.model.Employee;
public interface EmployeeRepository extends JpaRepository<Employee, Integer> {
Employee findByName(String name);
}
package espe.edu.ec.angularjsrestapidemo.service;
import java.util.List;
import javax.persistence.EntityExistsException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import espe.edu.ec.angularjsrestapidemo.model.Employee;
import espe.edu.ec.angularjsrestapidemo.repository.EmployeeRepository;
@Service
public class EmployeeService {
private EmployeeRepository employeeRepository;
@Autowired
public EmployeeService(EmployeeRepository employeeRepository) {
this.employeeRepository=employeeRepository;
}
public Employee save(Employee employee) {
if(employee.getId()!=null&&employeeRepository.exists(employee.getId())) {
throw new EntityExistsException("Ya se encuentra un registro con ese id en la base de datos");
}
return employeeRepository.save(employee);
}
public Employee update(Employee employee) {
if(employee.getId()!=null&&employeeRepository.exists(employee.getId())) {
throw new EntityExistsException("Ya se encuentra un registro con ese id en la base de datos");
}
return employeeRepository.save(employee);
}
public List<Employee> findAll(){
return employeeRepository.findAll();
}
public Employee findOne(Integer id) {
return employeeRepository.findOne(id);
}
public void delete(Integer id ) {
employeeRepository.delete(id);
}
}
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url = jdbc:mysql://localhost:3306/prueba1?useSSL=false
spring.datasource.username = root
spring.datasource.password = root
## Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = update
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
<display-name>Archetype Created Web Application</display-name>
</web-app>
var app = angular.module("crudApp", ['ngResource']);
\ No newline at end of file
angular.module('crudApp').factory('Employee', Employee);
Employee.$inject = [ '$resource' ];
function Employee($resource) {
var resourceUrl = 'api/employee/:id';
return $resource(resourceUrl, {}, {
'update' : {
method : 'PUT'
}
});
}
\ No newline at end of file
angular.module("crudApp").controller("GeneralController", GeneralController);
GeneralController.inject = [ '$scope', 'Employee' ];
function GeneralController($scope, Employee) {
$scope.employees = Employee.query();
$scope.employee = {};
$scope.buttonText="Submit";
$scope.saveEmployee = function() {
if ($scope.employee.id !== undefined) {
Employee.update($scope.employee, function() {
$scope.employees = Employee.query();
$scope.employee = {};
$scope.buttonText="Submit";
});
} else {
Employee.save($scope.employee, function() {
$scope.employees = Employee.query();
$scope.employee = {};
});
}
}
$scope.updateEmployeeInit = function(employee) {
$scope.buttonText="Update";
$scope.employee = employee;
}
$scope.deleteEmployee = function(employee) {
employee.$delete({id: employee.id}, function() {
$scope.employees = Employee.query();
});
}
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>CRUD Example</title>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular.min.js"></script>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular-resource.js"></script>
<script type="text/javascript" src="app/app.js"></script>
<script type="text/javascript" src="app/general.controller.js"></script>
<script type="text/javascript" src="app/employee.service.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body ng-app="crudApp" ng-controller="GeneralController">
<div class="panel panel-default">
<div class="panel-heading">Employees</div>
<div class="panel-body">
<form class="col-md-4" ng-submit="saveEmployee()">
<div class="form-group">
<label for="employeeName">Employee Name</label> <input type="text"
ng-model="employee.name" class="form-control" id="employeeName"
placeholder="Employee Name">
</div>
<div class="form-group">
<label for="employeeSalary">Salary</label> <input type="text"
ng-model="employee.salary" class="form-control"
id="employeeSalary" placeholder="Salary">
</div>
<div class="form-group">
<label for="employeeDepartment">Department</label>
<input type="text"
ng-model="employee.department" class="form-control"
id="employeeDepartment" placeholder="Department">
</div>
<button type="submit" class="btn btn-default">{{buttonText}}</button>
</form>
<div class="table-responsive col-md-6">
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Salary</th>
<th>Department</th>
<th></th>
</tr>
<tr ng-repeat="employee in employees">
<td>{{employee.name}}</td>
<td>{{employee.salary}}</td>
<td>{{employee.department}}</td>
<td>
<button type="button" class="btn btn-default"
ng-click="updateEmployeeInit(employee)">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-default"
ng-click="deleteEmployee(employee)">
<span class="glyphicon glyphicon-remove-circle"
aria-hidden="true"></span>
</button>
</td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
<html>
<body>
<h2>Hello World!</h2>
</body>
</html>
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url = jdbc:mysql://localhost:3306/prueba1?useSSL=false
spring.datasource.username = root
spring.datasource.password = root
## Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = update
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
<display-name>Archetype Created Web Application</display-name>
</web-app>
var app = angular.module("crudApp", ['ngResource']);
\ No newline at end of file
angular.module('crudApp').factory('Employee', Employee);
Employee.$inject = [ '$resource' ];
function Employee($resource) {
var resourceUrl = 'api/employee/:id';
return $resource(resourceUrl, {}, {
'update' : {
method : 'PUT'
}
});
}
\ No newline at end of file
angular.module("crudApp").controller("GeneralController", GeneralController);
GeneralController.inject = [ '$scope', 'Employee' ];
function GeneralController($scope, Employee) {
$scope.employees = Employee.query();
$scope.employee = {};
$scope.buttonText="Submit";
$scope.saveEmployee = function() {
if ($scope.employee.id !== undefined) {
Employee.update($scope.employee, function() {
$scope.employees = Employee.query();
$scope.employee = {};
$scope.buttonText="Submit";
});
} else {
Employee.save($scope.employee, function() {
$scope.employees = Employee.query();
$scope.employee = {};
});
}
}
$scope.updateEmployeeInit = function(employee) {
$scope.buttonText="Update";
$scope.employee = employee;
}
$scope.deleteEmployee = function(employee) {
employee.$delete({id: employee.id}, function() {
$scope.employees = Employee.query();
});
}
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>CRUD Example</title>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular.min.js"></script>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular-resource.js"></script>
<script type="text/javascript" src="app/app.js"></script>
<script type="text/javascript" src="app/general.controller.js"></script>
<script type="text/javascript" src="app/employee.service.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body ng-app="crudApp" ng-controller="GeneralController">
<div class="panel panel-default">
<div class="panel-heading">Employees</div>
<div class="panel-body">
<form class="col-md-4" ng-submit="saveEmployee()">
<div class="form-group">
<label for="employeeName">Employee Name</label> <input type="text"
ng-model="employee.name" class="form-control" id="employeeName"
placeholder="Employee Name">
</div>
<div class="form-group">
<label for="employeeSalary">Salary</label> <input type="text"
ng-model="employee.salary" class="form-control"
id="employeeSalary" placeholder="Salary">
</div>
<div class="form-group">
<label for="employeeDepartment">Department</label>
<input type="text"
ng-model="employee.department" class="form-control"
id="employeeDepartment" placeholder="Department">
</div>
<button type="submit" class="btn btn-default">{{buttonText}}</button>
</form>
<div class="table-responsive col-md-6">
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Salary</th>
<th>Department</th>
<th></th>
</tr>
<tr ng-repeat="employee in employees">
<td>{{employee.name}}</td>
<td>{{employee.salary}}</td>
<td>{{employee.department}}</td>
<td>
<button type="button" class="btn btn-default"
ng-click="updateEmployeeInit(employee)">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-default"
ng-click="deleteEmployee(employee)">
<span class="glyphicon glyphicon-remove-circle"
aria-hidden="true"></span>
</button>
</td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
<html>
<body>
<h2>Hello World!</h2>
</body>
</html>
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url = jdbc:mysql://localhost:3306/prueba1?useSSL=false
spring.datasource.username = root
spring.datasource.password = root
## Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = update
#Generated by Maven Integration for Eclipse
#Thu Feb 21 15:36:21 COT 2019
version=0.0.1-SNAPSHOT
groupId=espe.edu.ec
m2e.projectName=AngularJsRestApiDemo
m2e.projectLocation=C\:\\Angular_Rest_API_Demo\\AngularJsRestApiDemo
artifactId=AngularJsRestApiDemo
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>espe.edu.ec</groupId>
<artifactId>AngularJsRestApiDemo</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>AngularJsRestApiDemo Maven Webapp</name>
<url>http://maven.apache.org</url>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>AngularJsRestApiDemo</finalName>
</build>
</project>
#Generated by Apache Maven
#Thu Feb 21 15:32:39 COT 2019
version=0.0.1-SNAPSHOT
groupId=espe.edu.ec
artifactId=AngularJsRestApiDemo
espe\edu\ec\angularjsrestapidemo\CrudApp.class
espe\edu\ec\angularjsrestapidemo\model\Employee.class
espe\edu\ec\angularjsrestapidemo\repository\EmployeeRepository.class
espe\edu\ec\angularjsrestapidemo\service\EmployeeService.class
espe\edu\ec\angularjsrestapidemo\controller\EmployeeResource.class
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment