You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+55Lines changed: 55 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,3 +196,58 @@ We haven't expand them very much, but there are some metrics about how many mess
196
196
To do this we used Springs `CounterService` from the [GroupMessageListener](https://github.com/s2team/votesapp/blob/master/src%2Fmain%2Fjava%2Fde%2Fvotesapp%2Fgroups%2FGroupMessageListener.java)
197
197
198
198
As configured by default, they can be checked at `http://localhost:8080/metrics`.
199
+
200
+
# Thanks
201
+
That was a really great week! Independent of the result we like to give special thanks to:
202
+
203
+
* Greg for organizing this contest
204
+
* Tarek for keeping Yowsup run
205
+
206
+
We'll invite you both for beer, Greg when comming to US and Tarek when we are the next time in Berlin.
207
+
208
+
# *Ring, Ring* ..... "Oh, i've got some message"
209
+
It's Deadlinesday, - we reached it. :)
210
+
211
+
Today we did a lot around the project. That means http://votesapp.de, the README.md, the logo and so on.
212
+
We even wrote a small storyline for our demo video which was the highlight of the day.
213
+
214
+
I like to share our great recording setup with you:
215
+
216
+

217
+
218
+
"Who cares about the clothes? The camera will record the phone only." - Walery thought :P
219
+
220
+
When you are going to watch the video, be prepared for the first 10 seconds.
221
+
It's so funny and well acted.
222
+
***Ring, Ring* ..... "Oh, i've got some message"** :)
223
+
224
+
Next to the video we did some *must have* but *well hated* documentation like the technical highlights and an overview of the whole system (including the things we don't submit to the contest).
225
+
For the documentation we used the free version of http://www.lucidchart.com.
226
+
There was absolutely nothing to say against this tool.
227
+
And [thats](https://raw.githubusercontent.com/s2team/votesapp/master/diary/architecture.png) the outcome of it.
228
+
To stop abusing the README we tried jekyllrb on Github Pages for a more attractive page.
229
+
Also jekyll impressed us by its concept.
230
+
231
+
On Java we replaced our `ConsoleClient` by a more modern `WebClient`.
232
+
Thanks to Spring Boot replacing the left- by right handed side was an ~2,5 hours job.
233
+
234
+

235
+
236
+
The `WebClient` for local testing is using WebSockets with SockJS, Stomp and Bootstrap.
237
+
238
+
To enable it we used this two dependencies `compile("org.springframework.boot:spring-boot-starter-websocket")`,
239
+
`compile("org.springframework:spring-messaging")` and added the `AbstractWebSocketMessageBrokerConfigurer` like this:
240
+
241
+
```
242
+
@Configuration
243
+
@EnableWebSocketMessageBroker
244
+
public class WebSocketConfig extends AbstractWebSocketMessageBrokerConfigurer {
245
+
246
+
@Override
247
+
public void registerStompEndpoints(StompEndpointRegistry registry) {
248
+
registry.addEndpoint("/whatsapp").withSockJS();
249
+
}
250
+
}
251
+
```
252
+
That's it from java. To enable the client side we need to put our `index.html` and `stomp.js`
253
+
into `/src/main/resources/static`. And it just runs like charm.
0 commit comments