Skip to content

dbelob/react-application-deployment

Repository files navigation

React application deployment test

Simple application in Java (Spring Boot) and React (Vite).

GitHub Actions status codecov Quality Gate Status

Requirements

Running

Method 1

  1. From the command line with Maven (in the root directory):

    mvn clean install -Dmaven.test.skip=true

  2. Change directory:

    cd react-application-deployment-server

  3. From the command line with Maven:

    mvn spring-boot:run

  4. Access the deployed web application at:

    http://localhost:8080

Method 2

  1. Install Node.js

  2. Run to ensure that npm is working:

    npm -v

  3. Change directory:

    cd react-application-deployment-server

  4. From the command line with Maven:

    mvn spring-boot:run

  5. Change directory:

    cd react-application-deployment-web

  6. From the command line with npm:

    npm start

  7. Access the deployed web application at:

    http://localhost:5173

Method 3

  1. From the command line with Maven (in the root directory):

    mvn clean package -DskipTests

  2. Change directory:

    cd react-application-deployment-distrib/target

  3. Find distribution file:

    react-application-deployment-<version>.zip

  4. Extract files from ZIP, for example:

    unzip react-application-deployment-<version>.zip

  5. Change directory:

    cd react-application-deployment-<version>

  6. Run:

    runme.bat (Windows)
    runme.sh (macOS or Linux)

  7. Access the running web application at:

    http://localhost:8080

About

React application deployment test

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •