8000 GitHub - mrwillroberts/webapp: Boilerplate Java / JS Web App
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mrwillroberts/webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example WebApp

This is a simple boiler plate application to demonstrate how a JS frontend can be combined with a Java backend

Stack

Frontend

  • NPM (package manager)
  • Parcel (bundler)
  • Jest (testing framework)
  • Vue (framework)
  • Bootstrap

Backend

  • Java
  • Spring Boot
  • Junit

SDLC

  • Maven

Developing

Run backend in IDE by launching

WebAppApplication.java

Run frontend in hot module reloading mode

First install dependencies:

npm start

This proxies /api calls to localhost:8080

Running

To create a production JAR build:

mvn install

Build a docker image

docker build -t example/webapp .

Run docker container

docker run -d -p 8080:8080 example/webapp

Testing

To run both frontend and backend tests:

mvn test

About

Boilerplate Java / JS Web App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0