An open API service indexing awesome lists of open source software.

https://github.com/quinntynebrown/gracefulerrorhandling

Error Handling in Angular Gracefully
https://github.com/quinntynebrown/gracefulerrorhandling

angular net-core-5

Last synced: about 1 month ago
JSON representation

Error Handling in Angular Gracefully

Awesome Lists containing this project

README

          

# Graceful Error Handling

Graceful Error Handling using ASP.NET Core and Angular

## Give a Star! :star:

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

## How to run locally

1. [Download and install the .NET Core SDK](https://dotnet.microsoft.com/download)
* If you don't have `localdb` available on your system, [Download and install SQL Server Express](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb)
2. Open a terminal such as **PowerShell**, **Command Prompt**, or **bash** and navigate to the `src/GracefulErrorHandling.Api` folder
3. Run the following `dotnet` commands:
```sh
dotnet build
dotnet run
```
4. Open your browser to: `https://localhost:5001`.
5. [Download and install the node package manager](https://nodejs.org/en/download)
6. Open a terminal such as **PowerShell**, **Command Prompt**, or **bash** and navigate to the `src/GracefulErrorHandling.App` folder
7. Run the following commands:
```sh
npm install -g @angular/cli
npm install
ng serve
```
8. Open your browser to: `https://localhost:4200`.

## To Run the tests
1. [Download and install the .NET Core SDK](https://dotnet.microsoft.com/download)
* If you don't have `localdb` available on your system, [Download and install SQL Server Express](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb)
2. Open a terminal such as **PowerShell**, **Command Prompt**, or **bash** and run the following command:
`dotnet test`