Skip to content

This project is a simple CRUD (Create, Read, Update, Delete) application implemented using React for the front end and Spring Boot for the back end.

Notifications You must be signed in to change notification settings

Neethuharii/CRUD-Application-Springboot-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

crud

CRUD Application using React and Spring Boot

This project is a simple CRUD (Create, Read, Update, Delete) application built with React for the frontend and Spring Boot for the backend. It allows you to manage a collection of items.

=> Table of Contents

  • Getting Started
  • Prerequisites
  • Installation
  • Running the Application
  • Usage
  • Project Structure
  • Technologies Used
  • Contributing
  • License

=>Getting Started

  • Node.js and npm installed.
  • Java and Maven for Spring Boot.
  • A compatible database (e.g., MySQL, PostgreSQL) with schema created.

=> Installation

-> Clone the repository:

git clone https://github.com/your-username/your-crud-app.git

-> Install frontend dependencies:

cd client npm install

-> Configure the backend:

  • Create a application.properties file in the src/main/resources directory of the Spring Boot project.
  • Configure your database connection in application.properties. For example:

-> properties

spring.datasource.url=jdbc:mysql://localhost:3306/your_database spring.datasource.username=your_username spring.datasource.password=your_password

Specify other configurations like server port and logging as needed.

-> Build the Spring Boot project:

cd server mvn clean install Running the Application

-> Start the Spring Boot server:

cd server mvn spring-boot:run

The backend server should now be running on http://localhost:8080.

-> Start the React frontend:

cd client npm start

The React development server should start and open the application in your default web browser at http://localhost:3000.

=> Usage

Access the CRUD application through the web browser. Perform CRUD operations on the items. Create, read, update, and delete items in the database.

=> Project Structure

-> The project is structured as follows:

client/: Contains the React frontend code. server/: Contains the Spring Boot backend code. database/: Contains database schema and migration scripts.

=> Technologies Used

  • React
  • Spring Boot
  • Java
  • MySQL (or your preferred database)
  • npm
  • Maven

=> Contributing

Feel free to contribute to this project by opening issues or pull requests. Your contributions are welcome!

=> License

This project is licensed under the MIT License - see the LICENSE file for details.

Feel free to customize this README file to include specific details about your CRUD application, such as project features, API documentation, or any other relevant information. It's essential to provide clear and concise instructions to help users understand and use your application effectively.

About

This project is a simple CRUD (Create, Read, Update, Delete) application implemented using React for the front end and Spring Boot for the back end.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published