This is an PMS Management System built with ASP.NET Boilerplate (ABP) Framework using ASP.NET Core 9.0 backend and Angular 19 frontend.
For detailed project structure and architecture documentation, see agents.md.
- .NET 9.0 SDK
- Node.js and Yarn (or npm)
- SQL Server
- Visual Studio 2019+ / Rider / VS Code
- Open
aspnet-core/PMSPlus.slnsolution in Visual Studio 2019 v16.7+ (or Rider) and build the solution. - Select the
PMS.Web.Hostproject as the startup project. - Create a file
appsettings.Development.jsonin thePMS.Web.Hostproject, and add connection strings inside it:
{
"ConnectionStrings": {
"Default": "Server=localhost; Database=PMSDb-dev; Trusted_Connection=True;"
}
}- Open the Package Manager Console and run an
Update-Databasecommand to create your database (ensure that the Default project is selected asPMS.EntityFrameworkCorein the Package Manager Console window). - Run the application. The API will be available at
http://localhost:22357/(checklaunchSettings.jsonfor actual port). - Default login credentials:
admin / Simple01(check database seed data for actual credentials)
- Open command prompt/terminal and navigate to
angularfolder - Run the command
yarn install(ornpm install) to restore npm packages - Run the command
yarn start(ornpm start) to run the application - Once the application compiled, go to http://localhost:6100/ in your browser
- Make sure
PMS.Web.Hostis also running
After making changes to backend API, regenerate the Angular API client services:
- Windows:
yarn nswagornpm run nswag - Mac/Linux:
yarn nswag:macornpm run nswag:mac
- Open Windows Powershell as administrator
- Change directory to
aspnet-core/build - Type
.\staging, it will build and deploy files to a folder calledoutputs-staging - Wait for the build to complete
- Open
aspnet-core/src/PMS.Migrator/bin/Debug/net9.0in explorer - Modify
appsettings.jsonconnection string to target Staging database - Run
PMS.Migrator.exeto run the migrations on Staging database - Test the system
aspnet-core/- ASP.NET Core backend solution (ABP Framework)angular/- Angular frontend applicationdocs/- Project documentation
See agents.md for detailed architecture and structure documentation.