data rest crud, angular fe (#1199)

* data rest crud, angular fe

* fix formatting, remove extra imports

* fix config

* change student entity to employee

* expose ids

* update boot version, removes ids, check null id
This commit is contained in:
lor6
2017-02-27 17:04:00 +02:00
committed by KevinGilmore
parent 288d464e16
commit 8617faf9cf
11 changed files with 395 additions and 5 deletions
@@ -0,0 +1,16 @@
CREATE TABLE employee (
id INTEGER PRIMARY KEY,
name VARCHAR(30),
age INTEGER
);
INSERT INTO employee (id,name,age)
VALUES (1,'Bryan',20);
INSERT INTO employee (id,name,age)
VALUES (2,'Lisa',30);
INSERT INTO employee (id,name,age)
VALUES (3,'Laura',40);
INSERT INTO employee (id,name,age)
VALUES (4,'Alex',35);
INSERT INTO employee (id,name,age)
VALUES (5,'John',47);