Skip to content

A simple Spring Boot (Java) & React.js full-stack app

Notifications You must be signed in to change notification settings

boolfalse/java-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java & React.js app

About:

  • This is a simple Java Spring boot & React.js full-stack app.

Setup:

  • [Optional] Setup Maven.
# maven: download, extract and move to the executable folder
wget https://dlcdn.apache.org/maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz
tar -xvf apache-maven-3.9.3-bin.tar.gz
sudo mv apache-maven-3.6.3 /opt/

# publish maven path
export PATH="$PATH:/opt/apache-maven-3.9.3/bin"

# set maven path to the default usable programs
nano ~/.bashrc
# add the line
PATH="$PATH:/opt/apache-maven-3.9.3/bin"
# reload the terminal or apply the changes
source ~/.bashrc
  • Setup .env credentials as described in .env.example in src/main/resources/ folder.

  • Run the backend:

mvn spring-boot:run
  • Install client dependencies:
npm install --prefix=client/
  • Run the client
npm run start --prefix=client/

Resources:

Author:

About

A simple Spring Boot (Java) & React.js full-stack app

Resources

Stars

Watchers

Forks