Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathieuancelin/java-web-stack
https://github.com/mathieuancelin/java-web-stack
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mathieuancelin/java-web-stack
- Owner: mathieuancelin
- Created: 2016-01-28T16:05:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T15:57:38.000Z (over 8 years ago)
- Last Synced: 2023-03-11T09:56:28.912Z (over 1 year ago)
- Language: Java
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# java-web-stack
Template project for an async web stack using
* Ratpack as HTTP stack
* RxJava as async programming model everywhere
* OKHTTP as HTTP client
* ReactiveCouchbase util libs (common, json, validation, concurrent)
* Typesafe config for configon the JS side
* React
* Webpack
* Babel
* ESlint## Run
To run first build the JS part
```
cd src/main/javascript
npm install
npm run build
```then build the services
```
./gradlew clean shadowJar
# or
./gradlew clean distZip
```and run it
```
java -jar ./build/libs/webstack-test-1.0.0-all.jar
# or
./gradlew run
# or
unzip ./build/distributions/webstack-test-1.0.0 ./build/distributions/webstack-test-1.0.0.zip
sh ./webstack-test-1.0.0/bin/webstack-test
# then
open http://localhost:8886/
```# Dev
instead of `npm run build` do `npm start` and then open `http://localhost:8886/dev`