Skip to content

DEFRA/epr-payment-frontend

Repository files navigation

epr-payment-frontend

Description

UI to calculate fees and manage payment records for EPR

Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/DEFRA/epr-payment-frontend.git
  2. Navigate to the project directory:
    cd \src\EPR.Payment.Portal
  3. Restore the dependencies:
    dotnet restore

Configuration

The application uses appsettings.json for configuration. For development, use appsettings.Development.json.

Sample

appsettings.Development.json

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  "FeatureManagement": {
    "EnablePaymentsFeature": true,
    "EnablePaymentStatusInsert": true,
    "EnablePaymentStatusUpdate": true
  }
}

Building the Application

  1. Navigate to the project directory:

    cd \src\EPR.Payment.Portal
  2. To build the application:

    dotnet build

Running the Application

  1. Navigate to the project directory:

    cd \src\EPR.Payment.Portal
  2. To run the service locally:

    dotnet run
  3. Launch Browser:

    UI:

    https://localhost:7274/