{"id":26282939,"url":"https://github.com/preets123/employeemanagement","last_synced_at":"2026-04-29T10:34:06.086Z","repository":{"id":281466301,"uuid":"945367773","full_name":"PreetS123/EmployeeManagement","owner":"PreetS123","description":"An Employee Management System using Spring Boot (CRUD)","archived":false,"fork":false,"pushed_at":"2025-03-09T09:09:48.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T09:27:14.141Z","etag":null,"topics":["java-17","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PreetS123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-09T08:49:27.000Z","updated_at":"2025-03-09T09:09:51.000Z","dependencies_parsed_at":"2025-03-09T09:37:40.183Z","dependency_job_id":null,"html_url":"https://github.com/PreetS123/EmployeeManagement","commit_stats":null,"previous_names":["preets123/employeemanagement"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreetS123%2FEmployeeManagement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreetS123%2FEmployeeManagement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreetS123%2FEmployeeManagement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreetS123%2FEmployeeManagement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PreetS123","download_url":"https://codeload.github.com/PreetS123/EmployeeManagement/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615631,"owners_count":20319733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java-17","spring-boot"],"created_at":"2025-03-14T17:16:04.299Z","updated_at":"2026-04-29T10:34:06.033Z","avatar_url":"https://github.com/PreetS123.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmployeeManagement\nAn Employee Management System using Spring Boot \n\n✅ Setting up Spring Boot in VS Code\n✅ Creating a basic CRUD API for employee management\n✅ Using Spring Boot with JPA and H2 (in-memory database)\n\nStep 1: Prerequisites\nBefore starting, ensure you have the following installed:\n1️⃣ Java JDK 17+ → Download JDK\n2️⃣ VS Code → Download VS Code\n3️⃣ Spring Boot Extension Pack (Install in VS Code)\n4️⃣ Maven (Verify with mvn -v in the terminal)\n\nStep 2: Create a New Spring Boot Project\n\nOpen VS Code\nPress Ctrl + Shift + P and type:\n👉 Spring Boot: Create a new Spring Boot project\nSelect \"Maven\" as the build tool\nSelect Dependencies:\nSpring Web\nSpring Data JPA\nH2 Database\nLombok\nChoose Java version: 17+\nSet project name: employee-management\nClick \"Finish\" → Wait for the project to generate\n\nStep 3: Configure application.properties\n\nStep 4: Create Employee Entity\n\nStep 5: Create Employee Repository\n\nStep 6: Create Employee Service\n\nStep 7: Create Employee Controller\n\nStep 8: Run the Application\n1️⃣ Open VS Code Terminal\n2️⃣ Run the application using:\nmvn spring-boot:run\n\n3️⃣ Access API Endpoints in Postman or Browser:\n\nCreate Employee → POST http://localhost:8080/employees\nGet All Employees → GET http://localhost:8080/employees\nGet Employee by ID → GET http://localhost:8080/employees/1\nUpdate Employee → PUT http://localhost:8080/employees/1\nDelete Employee → DELETE http://localhost:8080/employees/1\nH2 Database Console → http://localhost:8080/h2-console (Use JDBC URL: jdbc:h2:mem:employee_db)\n\nStep 9: Testing (Optional)\n📁 Create src/test/java/com/example/employee/EmployeeTests.java\nWrite unit tests using JUnit and Mockito for EmployeeService.\n\nThis Employee Management System covers the CRUD operations with Spring Boot, JPA, and H2. 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreets123%2Femployeemanagement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreets123%2Femployeemanagement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreets123%2Femployeemanagement/lists"}