Skip to content

Commit 40212ba

Browse files
committed
fixed lazy loading
1 parent 3de06de commit 40212ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+158203
-152
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,15 @@ curl command (replace xxx.xxx.xxx with the token that you received in above comm
111111
curl -X GET --header 'Accept: application/json' --header 'Authorization: xxx.xxx.xxx' 'http://localhost:9119/version'
112112
```
113113

114-
**As of this writing the Angular Frontend is adapted to make it work WITHOUT the security. If you enable the security you must update the frontend to store and send the security token with evry API request**
115-
116-
117-
### Install Frontend
114+
### Install Frontend (optional step)
115+
Code for frontend is allready compiled and saved under the webui/dist
116+
when building the backend app (maven) it will pickup the code from here. However if you modified the frontend
117+
code and want your changes to get reflected then execute a frontend build
118118
```bash
119119
# Navigate to PROJECT_FOLDER/webui (should contain package.json )
120120
npm install
121121
# build the project (this will put the files under dist folder)
122-
ng build --prod --aot
123-
122+
ng build --prod --aot=false
124123
```
125124

126125
### Install Backend (SpringBoot Java)
@@ -162,13 +161,17 @@ curl -X POST --header 'Content-Type: application/json' --header 'Accept: applica
162161
```
163162
or POST the username and password to http://localhost:9119/session
164163

165-
166164
after you get the authentication token you must provide this in the header for all the protected urls
167165

168166
```bash
169167
curl -X GET --header 'Accept: application/json' --header 'Authorization: [replace this with token ]' 'http://localhost:9119/version'
170168
```
171169

170+
171+
**To get an authentication token**
172+
173+
174+
172175
### Screenshots
173176
#### Login
174177
![Dashboard](/screenshots/login.png?raw=true)

pom.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>1.5.8.RELEASE</version>
16+
<version>1.5.9.RELEASE</version>
1717
</parent>
1818
<build>
1919
<sourceDirectory>src/main/java</sourceDirectory>
@@ -158,12 +158,7 @@
158158
<dependency>
159159
<groupId>com.google.guava</groupId>
160160
<artifactId>guava</artifactId>
161-
<version>23.0</version>
162-
</dependency>
163-
<dependency>
164-
<groupId>com.github.javafaker</groupId>
165-
<artifactId>javafaker</artifactId>
166-
<version>0.13</version>
161+
<version>23.5-jre</version>
167162
</dependency>
168163
<dependency>
169164
<groupId>joda-time</groupId>
@@ -183,7 +178,7 @@
183178
<dependency>
184179
<groupId>org.json</groupId>
185180
<artifactId>json</artifactId>
186-
<version>20160810</version>
181+
<version>20171018</version>
187182
</dependency>
188183
<dependency>
189184
<groupId>org.projectlombok</groupId>

0 commit comments

Comments
 (0)