Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/altafjava/spring-react

A combined project of Spring Boot and ReactJS in a single jar file
https://github.com/altafjava/spring-react

reactjs single-jar spring-boot spring-react

Last synced: about 10 hours ago
JSON representation

A combined project of Spring Boot and ReactJS in a single jar file

Awesome Lists containing this project

README

        

# Steps to execute the application

1. `mvn clean install`
2. `java -jar target/spring-react-1.0.jar`
3. Open a browser and type this url [http://localhost:8080](http://localhost:8080)

**Note:** You might get a warning in pom.xml saying

```
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugin:1.8:run (execution: default, phase: generate-resources)
```

So just ignore it or if you can fix it then you can.

To solve the above warning if you put all the plugins inside the `...` then `java -jar target/spring-react-1.0.jar` will not work. It will raise an error like `no main manifest attribute, in spring-react-1.0.jar`.