This project building on .NET 6, using for Human Resource Management for IT Company.
- ASP.NET Core 6
- Entity Framework Core 6
- AutoMapper
- Swagger UI - Swashbuckle
- Cronos
- Serilog
- EPPlus
- xUnit Test
- Quasar
- 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.
- Unit of Work
- Generic Repository
- Request-Reply
- Inversion of Control / Dependency injection
- Following CLI:
Note: you must directive to root project before run CLI.
- Install .NET 6 SDK
- Install MS SQL Server
- Editing connection string in appsettings.json
- Run
cd ./Infrastructure
. - Run
dotnet ef --startup-project ../API/ migrations add Initial
to add migration. - Run
dotnet ef --startup-project ../API/ database update
to update database. - Run
cd ../API
. - Run
dotnet run
to runs source code without any explicit compile or launch commands.
- Seeding data:
- First login: http://yourhost/api/v1/token/login
- Username: admin
- Password: c93ccd78b2076528346216b3b2f701e6 (plain-text: admin1234) (hash function: MD5)
- Get your access token
This project is licensed with the MIT license.