Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.37 KB

README.md

File metadata and controls

50 lines (41 loc) · 1.37 KB

FileStorageProject (Angular SPA + ASP.NET Core Web API)

Description

Solution for file storage.📁📁📁 Just for portfolio purposes.

Preview Screen

Alt text

Features

  • Angular v9 & ASP.NET Core 3.1
  • JWT token & ASP.NET Core Identity
  • Role based Authorization
  • SQL data access via Entity Framework Core
  • Logging via NLog

Prerequisites

  • Install
  • Command line & .NET Core CLI
    • In FileStorage-SPA folder run: npm install
    • In FileStorageBackend\FileStorage.API folder run: dotnet build

Running

  • The SPA will be served on http://localhost:4001
  • Web API will be served on https://localhost:5001
  • Command line & .NET Core CLI
    • In FileStorage-SPA folder run: ng serve
    • In FileStorageBackend\FileStorage.API folder run: dotnet run

Test Users

User with "Member" role:

  • Login: Tina
  • Password: password

User with "Admin" role:

  • Login: Admin
  • Password: admin

DB Connection

  • Edit ConnectionStrings in appsettings.json:
"ConnectionStrings": {
  "sqlConnection": "Server=(localdb)\\.;database=FileStorageDb; Integrated Security=true"
}

License

MIT