All Projects → xebia-os → Spring Boot React Maven Starter

xebia-os / Spring Boot React Maven Starter

Licence: apache-2.0
A multi module Spring Boot React starter for building real-world enterprises apps

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Spring Boot React Maven Starter

Spring Boot Angular Template
Starter Template to create a OAuth2 secured dockerized Spring Boot 2 Application with Angular 8 Frontend
Stars: ✭ 48 (-46.67%)
Mutual labels:  spring-boot, starter-template
Great Big Example Application
A full-stack example app built with JHipster, Spring Boot, Kotlin, Angular 4, ngrx, and Webpack
Stars: ✭ 899 (+898.89%)
Mutual labels:  spring-boot, starter-template
Spring Boot Shopping Cart
Simple shopping cart web app made using Spring Boot + Thymeleaf
Stars: ✭ 85 (-5.56%)
Mutual labels:  spring-boot
Springboot Registration Login Theperfectexample
Login & Signup tutorial for every website ,mixes a lot of microservices together with the latest spring framework api in combined with full security
Stars: ✭ 89 (-1.11%)
Mutual labels:  spring-boot
Spring Boot Style Guide
An opinionated guide on developing web applications with Spring Boot.
Stars: ✭ 88 (-2.22%)
Mutual labels:  spring-boot
Blazorboilerplate
Blazor Boilerplate / Starter Template with MatBlazor
Stars: ✭ 1,258 (+1297.78%)
Mutual labels:  starter-template
Http Api Demo
一个演示使用 Spring Boot 实现 HTTP API 的例子
Stars: ✭ 89 (-1.11%)
Mutual labels:  spring-boot
Disruptor Spring Boot Starter
starter for disruptor
Stars: ✭ 83 (-7.78%)
Mutual labels:  spring-boot
Weixin Java Mp Demo
基于Spring Boot 和 WxJava 实现的微信公众号Java后端Demo,支持多公众号
Stars: ✭ 1,291 (+1334.44%)
Mutual labels:  spring-boot
Spring 5 Examples
This repository is contains spring-boot 2 / spring framework 5 project examples. Using reactive programming model / paradigm and Kotlin
Stars: ✭ 87 (-3.33%)
Mutual labels:  spring-boot
Zzdj dhcp
一个可以自动同步DHCP租用信息到数据库的微服务
Stars: ✭ 89 (-1.11%)
Mutual labels:  spring-boot
Microservice Patterns
Code to share the knowledge I gained while designing and implementing micro services
Stars: ✭ 87 (-3.33%)
Mutual labels:  spring-boot
Spring Boot Jwt Demo
Simplest jwt demo with only 3 classes. Simple but product-level .
Stars: ✭ 86 (-4.44%)
Mutual labels:  spring-boot
Ghostwind
Tailwind CSS Starter Template - Ghostwind (Ghost Casper theme in Tailwind CSS)
Stars: ✭ 89 (-1.11%)
Mutual labels:  starter-template
Boot Spring Boot
'Boot Spring Boot: 스프링 부트 시작하기' 예제
Stars: ✭ 85 (-5.56%)
Mutual labels:  spring-boot
Java Spring Web
OpenTracing Spring Web instrumentation
Stars: ✭ 89 (-1.11%)
Mutual labels:  spring-boot
Spring Boot Mongodb Angular Todo App
A Sample App built using Spring Boot, Angular and MongoDB
Stars: ✭ 84 (-6.67%)
Mutual labels:  spring-boot
Roncoo Recharge
龙果充值平台,具备话费充值、流量充值、话费卡兑换功能;可以拓展其他充值兑换业务;也适用于支付、鉴权等业务功能的拓展
Stars: ✭ 87 (-3.33%)
Mutual labels:  spring-boot
Easy Notes
🍋 简笔记(easy notes)打造你的轻便私人笔记。接口涉及Spring Security、OAuth2、Jwt、MongoDB,客户端采用 Vue.js 、Ant Design
Stars: ✭ 89 (-1.11%)
Mutual labels:  spring-boot
Freeacs
(Seeking maintainer) Free TR-069 ACS that can run (mostly) anywhere.
Stars: ✭ 90 (+0%)
Mutual labels:  spring-boot

spring-boot-react-maven-starter

Build

This is a multi-module Spring Boot React Apache Maven starter app with good defaults. The react app is built using create-react-app.

This project provides a productive setup for building Spring Boot React applications. The application is divided into two Maven modules:

  1. api: This contains Java code of the application.
  2. ui: This contains all react JavaScript code of the application.

Running the full application

You can build the package as a single artifact by running the ./mvnw clean install. Next, you can run the application by executing:

$ java -jar api/target/api-0.1.0-SNAPSHOT.jar

The application will be accessible at http://localhost:8080.

Features

This starter comes bundled with the following features:

  1. Multi module Maven project: A multi module project to modularize backend and frontend code separately.
  2. Maven wrapper: So, you don't need to install Maven on your machine.
  3. Checkstyle: Enforce sane coding standard guidelines.
  4. CORS enabled: A global configuration is added to enable CORS so that frontend can work seamlessly with backend during development.

Running the backend for development mode

There are multiple ways to run the backend. For development, you can use your favorite IDE and run the com.xebia.starter.Application. As soon as your code compiles, Spring Boot DevTools will reload the code.

You can also run the application using Maven.

$ cd api
$  ../mvnw spring-boot:run

Running the frontend for development mode

You will need Node 12+ and npm to run the dev server and build the project.

$ cd ui
$ npm start

Docker Setup

To build the docker images and start the containers using Docker Compose run the following command. This will work in the *nix systems.

$ sh docker.sh

You can view running docker containers by executing following command.

$ docker ps

To stop and remove all docker container you have to run following command. This command should be run from project root.

$ docker-compose stop && docker-compose rm --force
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].