8000 GitHub - Millstack/springboot-react at 3426124442b01ce319684420ce2fcf6d6e5354ab
[go: up one dir, main page]

Skip to content

This repository contains a CRUD (Create, Read, Search) application built with Spring Boot for the backend REST API and React for the frontend user interface.

Notifications You must be signed in to change notification settings

Millstack/springboot-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

Spring Boot and React CRUD Application

This repository contains a CRUD (Create, Read, Update, Delete) application built with Spring Boot for the backend REST API and React for the frontend user interface.

Getting Started

Prerequisites

To run this application, you need to have the following prerequisites:

  • Java Development Kit (JDK) 8 or above
  • Node.js and npm (Node Package Manager)
  • MySQL database (with a schema named hostbuddy_restapi)

Setup

  1. Clone the repository to your local machine. git clone https://github.com/Millstack/springboot-react.git

  2. Set up the MySQL database:

  • Create a MySQL database with the name hostbuddy_restapi
  • Update the database connection properties in the application.properties file located in the springboot-backend folder. Set the correct values for spring.datasource.url, spring.datasource.username, and spring.datasource.password
  1. Build and run the Spring Boot backend:
  • Open a terminal and navigate to the springboot-backend folder
  • Build the backend application using Maven: ./mvnw clean package
  • Run the backend application: ./mvnw spring-boot:run
  1. Install dependencies and run the React frontend:
  • Open another terminal and navigate to the react-frontend folder
  • Install dependencies using npm: npm install
  • Start the React development server: npm start
  1. Access the application:

Application Structure

About

This repository contains a CRUD (Create, Read, Search) application built with Spring Boot for the backend REST API and React for the frontend user interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0