This project building on .NET 7, using for Human Resource Management for IT Company.
- ASP.NET Core API 7
- Entity Framework Core 7
- Cronos
- Serilog
- EPPlus
- xUnit Test
- Quasar
- SixLabors.ImageSharp
- AutoMapper
- Swagger UI - Swashbuckle
- 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.
- 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 7 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.