Skip to content
 
 

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee TimeSheet

Getting Started

This application was developed using Spring Boot, H2 Database, JPA and Angular.

Requirements

Java - 1.8

Maven - 4.x.x

Angular - 8.3.25

Nodejs - 14.18.2

Steps to Setup

  • Install version v14.18.2 from nodejs from https://nodejs.org/en/

  • Install Angular cli using below command

     npm -g install @angular/cli@8.3.25
    
  • In Eclipse/Spring STS import EmployeeTimeSheet Project

    Steps :

    • Click on File menu
    • Click on Import sub menu
    • Search for 'Existing projects into Workspace' option and click next
    • Browse folder and click on finish
  • Build the angular code

    • go to EmployeeTimesheet\fecode\employeetimesheet and run below commands in git bash
npm install
ng build --prod
  • Build and run the app using maven

    • go to EmployeeTimesheet folder and run below command in git bash
mvn clean install
- Now go to sts/eclipse and start Spring Boot application by right clicking and Run as Spring Boot Application

The app can be accessed at http://localhost:8080 from any modern browser.

Explore Rest APIs

The App defines following CRUD APIs.

APIs:

  • GET - /api/v1/employees - Get All Employees
  • POST - /api/v1/work - To Log work
  • POST - /api/v1/vacation - To take vacation

You can test them using postman or any other rest client.

User Interface

  • Action
  • Log Work : By clicking on this button you can log work days.
  • Take Vacation : By clicking on this button you can apply for vacation.

alt text

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages