Java8 + Spring Boot + Spring Data Rest + MongoDB + Gradle + Groovy + React + Redux + ES6 + Webpack + Docker
Linux | macOS | Windows | License |
---|---|---|---|
MongoDB | Java_Backend | NodeJS_Frontend |
---|---|---|
#Production run ##Production run via docker You will need installed:
You don't need to have either java, or nodejs, or gradle, or MongoDB installed. Only cloned repository and docker installed. Docker will deploy everything via docker images which have java, mongoDD and other necessary tools installed
After installation, run via terminal in folder with cloned repository:
$ docker-compose up -d
After it is finished, open in browser:
##Production run without docker
You will need installed:
Gradle - will be installed from gradle-wrapper;
Groovy - will be installed by Gradle;
Node - will be installed by Gradle;
NPM - will be installed by Gradle;
Fronted dependenices - will be installed by NPM.
Run via terminal in folder with cloned repository:
1. $ ./gradlew clean build
2. $ java -jar backend/build/libs/courses.jar
Or:
$ ./gradlew bootRun
$ ./gradlew npm_install //only on first run, or when package.json dependencies changed
$ ./gradlew npm_start
Or (Recommended):
Run main method in Application.java
using IDE of your choice. And then go to frontent module and run
npm start -s