Skip to content

Backend payroll calculation module built in .NET Core. Calculates net salary from base salary, bonus, and tax rate. Simulated project based on real-world enterprise development.

Notifications You must be signed in to change notification settings

nwAlazaro/payroll-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Payroll Module (Simulated Project)

This is a backend module for calculating employee payroll in a simulated HR or financial system.
It was built using ASP.NET Core and follows clean code and SOLID principles.

πŸ“Œ Features

  • Calculates net payroll based on base salary, bonus, and tax rate.
  • Exposes a REST API endpoint for payroll calculation.
  • Organized into Models, Controllers, and Services using dependency injection.
  • Easy to extend and integrate into larger systems.

πŸ› οΈ Technologies Used

  • .NET Core
  • C#
  • ASP.NET Web API
  • Dependency Injection
  • Entity Framework Core (placeholder for DB)
  • Swagger (suggested for API testing)

πŸ“ Project Structure

PayrollModule/
β”œβ”€β”€ Controllers/
β”‚   └── PayrollController.cs
β”œβ”€β”€ Models/
β”‚   └── Employee.cs
β”œβ”€β”€ Services/
β”‚   └── PayrollService.cs

πŸš€ How to Run (Conceptual Example)

  1. Clone the repository
  2. Add to a new ASP.NET Core Web API project
  3. Register IPayrollService and PayrollService in Startup.cs
  4. Use Swagger or Postman to test the endpoint:
    POST /api/payroll/calculate
    {
        "name": "Alice",
        "baseSalary": 3000,
        "bonus": 500,
        "taxRate": 0.15
    }
    

πŸ“„ Note

This is a simulated project created for portfolio demonstration purposes. It does not contain business-sensitive or proprietary code.


Created by Anderson Enrique LΓ‘zaro Moreno
Barcelona, Spain

About

Backend payroll calculation module built in .NET Core. Calculates net salary from base salary, bonus, and tax rate. Simulated project based on real-world enterprise development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages