Skip to content

A full-stack web application for managing employee records, featuring a React.js frontend and a Spring Boot backend. Supports CRUD operations on employee data with REST APIs, utilizing H2/MySQL databases and CORS for cross-origin requests.

Notifications You must be signed in to change notification settings

SRCarlo/Employee-Management-System-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§‘β€πŸ’Ό Employee Management System

This is a full-stack web application for managing employee records. It includes a React.js frontend and a Spring Boot backend, designed to perform CRUD operations on employee data.


Project Structure

Employee_Management_System/

  1. frontend/ # React.js application
  2. backend/ # Spring Boot application

πŸš€ Features

Frontend (React.js)

  • List all employees
  • Add a new employee
  • Update employee details
  • Delete an employee
  • Routing with react-router-dom

Backend (Spring Boot)

  • REST APIs for employee management
  • Uses Spring Data JPA with H2/MySQL
  • Cross-Origin Resource Sharing (CORS) enabled

πŸ›  Tech Stack

  • Frontend: React.js, Axios, Bootstrap
  • Backend: Spring Boot, Spring Data JPA
  • Database: MySQL (or H2 for testing)
  • Tools: Maven, Postman

βš™οΈ Getting Started

Backend Setup

  1. Navigate to backend/
  2. Open in your IDE Spring Tool Suite (like IntelliJ or Eclipse)
  3. Run "EmployeeManagementSystemApplication.java"
  4. Ensure MySQL is running or use H2

Frontend Setup

  1. Navigate to frontend/
  2. Run: bash npm install npm start

API Endpoints

  1. GET /api/v1/employees [ Get all employees ]
  2. POST /api/v1/employees [ Add a new employee ]
  3. PUT /api/v1/employees/{id} [ Update an employee ]
  4. DELETE /api/v1/employees/{id} [ Delete an employee ]

For questions or feedback, feel free to connect with the developer:

πŸ“§ asphaltshubhuu@gmail.com πŸ“± 9356894427

About

A full-stack web application for managing employee records, featuring a React.js frontend and a Spring Boot backend. Supports CRUD operations on employee data with REST APIs, utilizing H2/MySQL databases and CORS for cross-origin requests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published