Skip to content

REST Web API and Blazor WASM UI for managing a bookstore

Notifications You must be signed in to change notification settings

wiktoriakeller/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📚 Bookstore

Web API and a Blazor WASM UI for managing a bookstore. Project for visual programming course at PUT.

Technologies

  • .NET 7
  • ASP.NET Core
  • FluentValidation
  • AutoMapper
  • Entity Framework Core
  • xUnit
  • FluentAssertions
  • AutoFixture
  • Moq
  • Blazor
  • Refit
  • Docker

Setup

Create .env file in the src folder, it should contain the following variables:

  • SA_PASSWORD - password to the database,
  • USE_MOCK_DATA_ACCESS - boolean value, determines whether use mock or a sql database

Example file:

SA_PASSWORD=superPassword123
USE_MOCK_DATA_ACCESS=false

Then in the src folder run:

docker compose up

Web API URL: localhost:5000/swagger

Client app URL: localhost:8000

To delete created containers run:

docker compose down

To force rebuild of the containers run:

docker compose up --build

About

REST Web API and Blazor WASM UI for managing a bookstore

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published