Skip to content

dong-nguyen-hd/HR-Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web API Project:

Human Resource Management for IT Company

This project building on .NET 7, using for Human Resource Management for IT Company.

Technologies

Features

  • Human resources management with following information: personal, work history, project, certificate, education, skill, timesheet, salary,...
  • Support: authentication-authorization with token-base (JWT).
  • Archiving accounts into database, hashing password-salt with PBKDF2 algorithm.
  • Storing and resizing image.
  • Import excel file.
  • Getting data with pagination.
  • Logging information to console and file.
  • Cron-job supports cleaning refresh-token.

Diagram

Design Patterns

  • Unit of Work
  • Generic Repository
  • Request-Reply
  • Inversion of Control / Dependency injection

Getting Started

  • Following CLI:

Note: you must directive to root project before run CLI.

  1. Install .NET 7 SDK
  2. Install MS SQL Server
  3. Editing connection string in appsettings.json
  4. Run cd ./Infrastructure.
  5. Run dotnet ef --startup-project ../API/ migrations add Initial to add migration.
  6. Run dotnet ef --startup-project ../API/ database update to update database.
  7. Run cd ../API.
  8. Run dotnet run to runs source code without any explicit compile or launch commands.
  • Seeding data:
  1. First login: http://yourhost/api/v1/token/login
  • Username: admin
  • Password: c93ccd78b2076528346216b3b2f701e6 (plain-text: admin1234) (hash function: MD5)
  1. Get your access token

License

This project is licensed with the MIT license.

Releases

No releases published

Packages

No packages published