Giter VIP home page Giter VIP logo

dfc-coursedirectory's Introduction

dfc-coursedirectory

Build Status

User Interface for course directory, implemented using the provider portal APIs. Contains provider portal Azure resources in the Resources directory.

Developer setup

Running the tests

Manually create an empty database named CourseDirectoryTesting:

create database CourseDirectoryTesting;
ALTER DATABASE CourseDirectoryTesting SET ALLOW_SNAPSHOT_ISOLATION ON;

Run the tests.

The dacpac will automatically be deployed and create all the database schema and tables.

Running the web app locally

Secrets

  • Get user secrets from another developer on the team.

Create the database

  • Manually create empty database CourseDirectory:
create database CourseDirectory;
ALTER DATABASE CourseDirectory SET ALLOW_SNAPSHOT_ISOLATION ON;

Deploy database from Visual Studio

  • Right-click "Publish" on the database project then deploy to database CourseDirectory.

Deploy database from CLI

Temporarily configure user secret ConnectionStrings:DefaultConnection for project CourseDirectoryTesting to point to database CourseDirectory.

Run the tests in Dfc.CourseDirectory.WebV2.Tests, this will cause the dacpac to deploy.

Undo the temporary user secret configuration change.

Run the web project

Run project Dfc.CourseDirectory.Web

Navigate to https://localhost:44345/ in a browser.

Login

Ask the team to make you a valid DfE Sign-in account with provider(s) associated with it.

Project architecture

Azure Function App Dependencies

This project depends on multiple deployed Azure function app resources:

Project Structure

Legacy

The projects in the Legacy solution folder were inherited without good test coverage and are not in an easily testable state.

WebV2

New code is being written in the WebV2 project that is test-driven and uses modern patterns of development to achieve cleaner testable code.

See the WebV2 readme for details of the patterns in use.

The WebV2 controllers are made available under the legacy Dfc.CourseDirectory.Web project so that we can move routes across one at time. As such to run the WebV2 code you actually need to run the original "Web" project.

dfc-coursedirectory's People

Contributors

gunndabad avatar sbradley090877 avatar liamwright avatar mahmoodakhtar avatar alterius avatar timabell avatar syatessoftware avatar gulshanbaryah avatar abu-khubaib avatar joehs avatar javeedesyn avatar makcom avatar ms-dev-ops avatar ian-findacourse avatar mrkevjoy avatar jameslawesynergy avatar thelious1974 avatar suniara avatar larryog avatar bucky-uk avatar techtoniq avatar anefiox avatar madhu-pasumarthi avatar ash-h avatar kwootten avatar jessiepotter1 avatar purpleduckmedia avatar rivoric avatar gcomptonedu avatar trivedihimanshu avatar

Stargazers

 avatar

Watchers

James Cloos avatar Westley Knight avatar David Olsan avatar  avatar Cornelius Jideofor avatar  avatar Matthew Archer avatar SFADevOps avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.