Skip to content

ericshen90/spring-react-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

A CRUD program that uses React + Node + Yarn for the frontend, Kotlin + Spring Boot for the backend, and Gradle for the build tool.

Reference Documentation

Requirements

Description

The frontend sub-project builds an index.html file in its build directory. A custom task named processFrontendResources, and defined in the backend sub-project copies the previous file in the build/resources/main/public directory of the backend sub-project. The processResources task of the backend sub-project depends on this processFrontendResources task, to ensure frontend artifacts are included when building the WAR artifact: the bootWar task in the backend project automatically packages files in the ${project.buildDir}/resources/static directory into the WAR artifact so as they are publicly accessible.

Finally:

  • Enter gradlew bootRun on a command line.
  • Open a browser, connect to URL http://localhost:8080, and see the following page.

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published