Nonstop API

Running locally

  1. Ensure all of the Technical Requirements are installed
  2. Create a database on your local SQL Server called Nonstop
  3. Open Visual Studio Code and select the Debug Tab
  4. Select Migrations from the dropdown and hit play
  5. In the console window which opens, press Y, wait for the migrations to complete and then press Enter to exit
  6. Return to the Debug Tab and select Admin API and hit play. Your browser should open at http://localhost:5000/swagger/index.html.
  7. From a terminal (you can use the integrated VS Code Terminal by selecting View > Terminal > Customize > Git Bash), run
    • cd ./angular
    • yarn install
    • ng serve
  8. Your browser should open at http://localhost:4200/account/login
  9. Return to the Debug Tab in VS Code and select Public API and hit play. Your browser should open at http://localhost:63706/
In this document