Skip to content

seifhassan89/EmployeeVacationsWebApi

Repository files navigation

Employee Vacation Manager Web API

This is a simple .NET Core Web API project that allows employees to manage their vacation balance and make vacation requests. The project is built using Entity Framework and PostgreSQL.

Features

  • CRUD operations for employees and their vacation balance.
  • Vacation request creation, approval, and rejection.

Getting Started

To get started with this project, follow these steps:

Prerequisites

  • .NET Core 5.0
  • PostgreSQL 13.4

Installing

  1. Clone the repository to your local machine.
git clone https://github.com/seifhassan89/employee-vacation-manager.git
  1. Navigate to the project directory.
cd employee-vacation-manager
  1. Restore the project dependencies.
dotnet restore
  1. Update the database schema.
dotnet ef database update
  1. Run the application.
dotnet run

Usage

The API endpoints can be tested using a tool such as Postman. The following endpoints are available:

image image image image

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new feature branch.
  3. Make your changes.
  4. Create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.