Skip to content

uk-gov-mirror/DFE-Digital.academy-transfers-api

 
 

Repository files navigation

academy-transfers-api

The internal service for managing Academy Transfers

Tech notes

Quickstart

To get the Frontend project running you will require:

  • .NET Core 3.1
  • Redis (running locally or in Docker, see below)
  • Node v 12.x
  1. Install dependencies
  • .NET
    • dotnet restore
  • Node
    • make build-frontend
  1. Ensure Redis is running
  2. Set user secrets
    • dotnet user-secrets set "Key" "Value" --project Frontend
  3. Run the application
  • dotnet start --project Frontend

User-secrets

Frontend

The frontend repo requires the following user secrets to be able to connect to TRAMS:

  • D365:Authority
  • D365:ClientId
  • D365:ClientSecret

Redis

When running Redis locally, you may find it easier to run inside docker, this can be done via the following command:

docker run -p 6379:6379 --name redis -d redis

By default the Redis config for the frontend is defined in appsettings.Development.json under VCAP_SERVICES. This connects to a Redis server (without SSL) hosted on localhost:6379 with an optional password of password.

About

API for Academy Transfers frontend to talk to Dynamics 365 backend (TRAMS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 87.7%
  • HTML 11.7%
  • Other 0.6%