Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.08 KB

File metadata and controls

42 lines (29 loc) · 1.08 KB

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.