Giter Site home page Giter Site logo

ems's Introduction

Employee Management System (EMS) REST API

Introduction:

The Employee Management System (EMS) is a REST API built using Java and Spring Boot that provides endpoints for managing employee-related information and processes. This API allows clients to interact with the system programmatically, enabling businesses to efficiently manage their employees' data.

Table of Contents:

Features:

Branch Management: Endpoints to add, update, and delete branch information.

Department Management: Endpoints to add, update, and delete department information.

Employee Management: Endpoints to add, update, and delete employee (personal, work, contract, and salary ) information.

Technologies Used:

  • Java
  • Spring Boot
  • Spring Data JPA & Hibernate
  • Postgresql
  • Lombok
  • ModelMapper

Setup:

To get started with the EMS REST API, follow these steps:

  1. Prerequisites: Ensure you have Java, and a Postgresql database installed and set up on your system.

  2. Clone the Repository: Clone this repository to your local machine using the following command:

git clone https://github.com/ahmed-sallam/ems.git

  1. Configuration: Configure the database connection and other settings in the application.properties file located in the src/main/resources directory.

  2. Run the Application: Use your IDE or the following command to run the application: ./mvnw spring-boot:run

  3. Access the API: The EMS REST API is now up and running. You can use your preferred API client (e.g., Postman) to interact with the endpoints.

ERD:

img.png

API Endpoints:

  1. The EMS REST API provides the following endpoints (still adding):
  2. GET /api/v1/branches: Get a list of all branches.
  3. POST /api/v1/branches: Add a new branch.
  4. GET /api/v1/branches/{id}: Get a specific branch by ID.
  5. DELETE /api/v1/branches/{id}: Delete a branch.
  6. PUT /api/v1/branches/{id}: Update details of an existing branch.
  7. GET /api/v1/branches/{id}/departments: Get departments of an existing branch.
  8. GET /api/v1/departments: Get a list of all departments.
  9. POST /api/v1/departments: Add a new department.
  10. GET /api/v1/departments/{id}: Get a specific department by ID.
  11. DELETE /api/v1/departments/{id}: Delete a department.
  12. PUT /api/v1/departments/{id}: Update details of an existing department.
  13. GET /api/v1/addresses: Get a list of all addresses.
  14. POST /api/v1/addresses: Add a new address.
  15. GET /api/v1/addresses/{id}: Get a specific address by ID.
  16. DELETE /api/v1/addresses/{id}: Delete a address.
  17. PUT /api/v1/addresses/{id}: Update details of an existing address.
  18. GET /api/v1/personals: Get a list of all employees personal info.
  19. POST /api/v1/personals: Add a new employee personal info.
  20. GET /api/v1/personals/{id}: Get a specific employee personal info by ID.
  21. DELETE /api/v1/personals/{id}: Delete an employee personal info.
  22. PUT /api/v1/personals/{id}: Update details of an existing employee personal info.

Contact

If you have any questions or suggestions regarding the EMS REST API, feel free to contact us at:

Email: [email protected]

Website: https://tech-peak.com

LinkedIn: https://www.linkedin.com/in/ahmed-awwad-2b6b4565/

ems's People

Contributors

ahmed-sallam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.