Skip to content

vikaskumr/spring-react-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is made with Spring Initializr

Starting with Spring Initializr You can use this pre-initialized project and click Generate to download a ZIP file. This project is configured to fit the examples in this tutorial.

To manually initialize the project:

Navigate to https://start.spring.io. This service pulls in all the dependencies you need for an application and does most of the setup for you.

Choose either Gradle or Maven and the language you want to use. This guide assumes that you chose Java.

Click Dependencies and select Spring Web.

Click Generate.

Download the resulting ZIP file, which is an archive of a web application that is configured with your choices.

You can open the Extracted file in any editor of your choice

I have used Spring Boot Dashboard Extension for VS Code

https://marketplace.visualstudio.com/items?itemName=Pivotal.vscode-boot-dev-pack

Please download latest version of Java, maven, Please follow the links to install maven

unix and windows - https://maven.apache.org/install.html mac os - https://mkyong.com/maven/install-maven-on-mac-osx/

Available Scripts

In the project directory, you can run:

mvn clean install

Run this command to make sure you have a latest build of frontend and to check if build is successful

mvn spring-boot:run

Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.

You will also see any lint errors in the console.

About

Java Backend with React Frontend on a single port

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published