/spring-react-demo

Spring Boot and React Demo

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Spring-React-Demo

How to start the backend

  • To build the backend : In the root directory do a ./mvnw clean install
  • To start the backend : In the root directory do a ./mvnw spring-boot:run

How to start the frontend

In a new terminal do the following

  • To build the frontend : In the ./app directory do a yarn build
  • To test the frontend : In the ./app directory do a yarn test
  • To start the frontend : In the ./app directory do a yarn start