Skip to content

itpartnersillinois/uofi-itp-directory

Repository files navigation

IT Partners README.MD file

Summary:

Back-end and APIs to pull information. This is replacing the old people function app and the old contact support app.

Production location:

There will be two locations, one for each project:

Development location:

Currently, none. We do development on local machines.

How to deploy to production/development:

Using CI -- Github Action to a Function App and an App Service.

How to set up locally:

Download the code. Use NuGet to get the latest copy of the executables.

The "local.settings.json" needs to be filled in with a proper Data Warehouse key and Experts API information, or add it to your local secrets file.

The database uses EF to generate, and it will generate Rob and Bryan as admins automatically.

Note that to access the data warehouse, you need to be on VPN, even if you are testing locally.

For the Elasticsearch instance, create one through AWS. You can set the mapping through the function app HTTP request LoadMapping.

Notes (error logging, external tools, links, etc.):

Information about EF Core Tools:

Make sure the uofi-itp-directory project is set up as the startup project before running the commands below:

Add-Migration -Name {migration name} -Project uofi-itp-directory-data

Update-Database -Project uofi-itp-directory-data

If you run into the issue "The certificate chain was issued by an authority that is not trusted.", then add TrustServerCertificate=True to the connection string.

There are five projects in this solution. They are:

  • uofi-itp-directory: The Blazor Application
  • uofi-itp-directory-function: The Function application
  • uofi-itp-directory-data: A class project that contains the database and logic to add/retrieve from the database
  • uofi-itp-directory-search: A class project that contains the Amazon Open Search Services and logic to add/retrieve from the service
  • uofi-itp-directory-external: A class project that contains connections to campus solutions (Data Warehouse, Program Course Repository, Illinois Experts)