Skip to content

You can use this code as an example for a combined JavaScript-Java project based on Maven

License

Notifications You must be signed in to change notification settings

antonrud/javascript-java-example-project

Repository files navigation

JavaScript-Java example project

This project is the initial part of our work for the module Ambient Assisted Living at Technical University of Berlin, summer term 2018. (Original project home: https://gitlab.tubit.tu-berlin.de/aal-ss-18/data-engine-user-interface)

You can use this code as an example for a combined JavaScript-Java project based on Maven.

npm and Webpack are already configured for React-Babel-Bootstrap development. Java classes could be placed into src/main/java and src/test/java. You can run ./mvnw package to create a JAR with Java and JavaScript classes inside (you probably should configure pom.xml to serve your needs).

How to use

Development

First run npm install to install all needed modules for development, and then run npm run server to start the local development webserver. Once the bundle is packed, the Browser will open the URL automatically. Furthermore, it will automatically repack and refresh the webpage as soon any file changes are detected.

Build

You can use attached Maven Wrapper to build this project. No actual Maven installation is needed on your system (however you need JDK 8 to be installed).

Just run ./mvnw package to build the project.

Built With

  • React - JavaScript library for building user interfaces
  • Chart.js - Simple yet flexible JavaScript charting for designers & developers
  • react-chartjs-2 - React wrapper for Chart.js 2
  • Bootstrap - Sleek, intuitive, and powerful front-end framework
  • Babel - JavaScript compiler
  • webpack - JavaScript bundler
  • npm - package manager for JavaScript
  • Maven - Build automation tool and dependency management

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

You can use this code as an example for a combined JavaScript-Java project based on Maven

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published