Skip to content

Mr-Techganesh/employee-rest-api-hpe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Employee REST API – HPE Forage Simulation

Java Spring Boot JUnit Build Tool

A fully working Spring Boot RESTful API to manage employee records, created as part of the Hewlett Packard Enterprise – Software Engineering Virtual Experience on Forage.


πŸ“Œ Project Features

  • βœ… RESTful API using Spring Boot
  • βœ… GET /employees to fetch employee list
  • βœ… MVC architecture (Model, Service, Controller)
  • βœ… Unit testing with JUnit 5
  • βœ… Clean, modular Java codebase

πŸ§ͺ API Endpoints

Method Endpoint Description
GET /employees Fetch all employees

πŸ“ Project Structure

employee-rest-api-hpe/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ main/ β”‚ β”‚ β”œβ”€β”€ java/com/example/demo/ β”‚ β”‚ β”‚ β”œβ”€β”€ controller/ β”‚ β”‚ β”‚ β”œβ”€β”€ model/ β”‚ β”‚ β”‚ └── service/ β”‚ β”œβ”€β”€ test/ β”‚ └── java/com/example/demo/ β”‚ β”œβ”€β”€ controller/ β”‚ └── service/ β”œβ”€β”€ pom.xml └── README.md


πŸš€ How to Run the App Locally

πŸ›  Prerequisites

  • Java 17
  • Maven

▢️ Run the app

mvn clean install
mvn spring-boot:run


Access endpoint at:
πŸ”— http://localhost:8080/employees

βœ… Run Unit Tests
mvn test


πŸŽ“ About the Simulation
This project was completed as part of the HPE Forage Software Engineering Virtual Experience Program.
It demonstrates skills in REST API development, Spring Boot, testing with JUnit, and Java backend fundamentals.

πŸ“¬ Contact
Made with ❀️ by Ganesh Moorthy
πŸ”— LinkedIn – Mr-Techganesh

About

Spring Boot REST API built for HPE Software Engineering Job Simulation on Forage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages