MarcScheib / wildfly-aurelia

Combining Java EE Backend with Aurelia Frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WildFly-Aurelia

Basic project architecture for JavaEE and Aurelia on WildFly. This example is based on the Aurelia Contacts App.

Running the project

To run the app, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:
npm install
  1. Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
  1. Ensure that jspm is installed. If you need to install it, use the following command:
npm install -g jspm

Note: jspm queries GitHub to install semver packages, but GitHub has a rate limit on anonymous API requests. It is advised that you configure jspm with your GitHub credentials in order to avoid problems. You can do this by executing jspm endpoint config github and following the prompts.

  1. Install the client-side dependencies with jspm:
jspm install

Note: Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doing npm install -g unzip and then re-running jspm install.

WildFly Configuration

  1. Ensure that WildFly is extracted somewhere on your drive.
  2. Add the path to the WildFly directory to the JBOSS_HOME env variable.
  3. Start the WildFly server.
  4. Adjust the config/src/main/resources/configuration.properties to your needs and save it as local.properties.
  5. On the cmd line, got to the config directory.
  6. Run mvn process-resources wildfly:execute-commands -P "config"

About

Combining Java EE Backend with Aurelia Frontend


Languages

Language:JavaScript 72.9%Language:Java 17.9%Language:HTML 9.3%