Skip to content

abannan/PhoneBookApp

Repository files navigation

Phone Book App

Description

This solution is made up of three projects:

  • Phonebook.AngularApp: Main website using Angular
  • PhoneBook.Models: Database context/entities and other classes
  • PhoneBook.WebApi: Web service that updates the database

Installation

The WebApi appsettings.json contains a connection string called PhoneBookContext that needs to point at a MS SQL Server - the database does not need to be created.

First Run

When the PhoneBook database is created at first run, an Application User row needs adding, just the created/updated dates.

The Application User Id used in several places (hardcoded for now) needs to be change from 1 if adding the row creates an Id that isn't 1

Web Api

This has been coded so that the Swagger interface can be used for testing.

Angular App

This has the URL of the web api set in the ClientApp\src\environments\environment.ts file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published