RP2025/Employee_Management_Frontend

โ˜… 0Forks 0JavaScriptGitHub โ†—Compare

README

๐Ÿ‘ฉโ€๐Ÿ’ป Employee Management System โ€“ React + Spring Boot (Java)

This is a full-stack Employee Management System that enables users to Create, Read, Update, and Delete (CRUD) employee records via a responsive React-based frontend and a robust Java Spring Boot REST API backend.

The app demonstrates how frontend and backend technologies can be combined to build a fully functional web application, making it ideal for learning and showcasing full-stack development skills.


๐Ÿ“„ Project Description

This project offers a complete CRUD solution to manage employee data, with functionality to:

  • ๐Ÿ“‹ List all employees
  • โž• Add a new employee
  • ๐Ÿ“ Update employee details
  • โŒ Delete employee records

The backend is built using Java Spring Boot, exposing REST APIs that the frontend (developed in React) consumes via native fetch() calls. The backend auto-seeds a few employee records when the server starts.


โš™๏ธ Tech Stack

๐Ÿ”น Frontend

  • React JS (Functional Components + Hooks)
  • Native Fetch API for HTTP requests
  • Basic styling / responsive design

๐Ÿ”น Backend

  • Java 17+
  • Spring Boot
  • Spring Data JPA + Hibernate
  • RESTful API
  • H2

๐ŸŽฅ Working Demo

๐Ÿ“บ Watch Full Demo on YouTube


๐Ÿ”Œ Integration


๐Ÿง  What is CRUD?

CRUD stands for:

Operation HTTP Method Description
Create POST Add new employee
Read GET Get employee(s)
Update PUT Modify employee info
Delete DELETE Remove employee

The backend exposes REST endpoints to perform each of these actions, and the frontend interacts with these via simple HTTP calls.


๐Ÿ”Œ What is REST API?

A REST API is a set of HTTP-based endpoints that allow communication between client and server. It follows stateless, resource-based conventions.

In this project:

  • The backend exposes endpoints like /employees, /employees/{id}
  • The frontend calls these endpoints using HTTP methods like GET, POST, PUT, and DELETE

Contributors

RP2025

Issues