This is the code for the Notification Service API micro-service of Crown Commercial Service's (CCS) Public Procurement Gateway (PPG).
The project is implemented as a .NET Core web application, implemented using NuGet.
The core technologies for the project are:
- .NET Core 8
- NuGet for package management
- XUnit for unit testing
To run the application locally, you simply need to run the Ccs.Ppg.NotificationService.API project.
You will need to be supplied with a local secrets file (appsecrets.json) to enable the project to run, which can be supplied by any member of the development team.
You will also need to have setup 6 PostgreSQL databases locally, which the application can run against. To make this easier, database dumps can be supplied by any member of the development team which you can restore to setup and populate these databases.
Once the application has started it can be accessed in a web browser using the URL https://localhost:7247/notification-service.
When picking up tickets, branches should be created using the feature/* format.
When completed, these branches should be pull requested against develop for review and approval. develop is then built out onto the Development environment.
The Test and Pre-Production environments are controlled via means of release and hotfix branches.
Release branches should be created from develop using the release/* format, whilst hotfixes should be created from main using the hotfix/* format. These branches can then be built out to Test and Pre-Production as appropriate.
When releases/hotfixes are ready for deployment to Production, the release/* or hotfix/* branch in question should be pull requested against the main branch for review and approval. This branch should then be built out to Production.
Once a release/hotfix has been completed you should be sure to merge main back down into develop.